From 8787eacf3288d0cd9cba6a8d05ff94131ded527e Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Mon, 19 Nov 2018 22:04:15 +0100 Subject: [PATCH] Fix breadcrumb visibility not being restored after orientation changes. --- .../de/mrapp/android/preference/activity/PreferenceActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java b/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java index 6e32299..f032328 100644 --- a/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java +++ b/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java @@ -2940,6 +2940,7 @@ protected void onRestoreInstanceState(final Bundle savedInstanceState) { if (selectedNavigationPreference != null) { showBreadCrumb(selectedNavigationPreference, selectedPreferenceFragmentArguments); + adaptBreadCrumbVisibility(selectedPreferenceFragmentArguments); showToolbarNavigationIcon(); } }