Skip to content

Conversation

@danesfeder
Copy link
Contributor

The UI was getting stuck when initialized in night mode - this is because the Android framework quickly recreates the activity when it 👀 sees it's in night mode so the Bundle savedInstanceState is not null. But, navigation has not begun yet, so navigation was failing to start.

This PR now makes the navigation view look at if navigation is running instead of the saved instance state being null - a much more reliable way to resume navigation after rotation.

@danesfeder danesfeder added bug Defect to be fixed. navigation-ui labels May 15, 2018
@danesfeder danesfeder added this to the 0.14.0 milestone May 15, 2018
@danesfeder danesfeder self-assigned this May 15, 2018
Copy link
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Defect to be fixed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants