Commit a357c0dc authored by Arthur Diniz's avatar Arthur Diniz

Fix app bar title from Preference on rotate

Signed-off-by: 's avatarArthur Diniz <arthurbdiniz@gmail.com>
parent affddd02
...@@ -45,6 +45,11 @@ class PreferencesFragment : Fragment(), PreferencesView { ...@@ -45,6 +45,11 @@ class PreferencesFragment : Fragment(), PreferencesView {
analyticsManager.logScreenView(ScreenViewEvent.Preferences) analyticsManager.logScreenView(ScreenViewEvent.Preferences)
} }
override fun onResume() {
setupToolbar()
super.onResume()
}
override fun setupAnalyticsTrackingView(isAnalyticsTrackingEnabled: Boolean) { override fun setupAnalyticsTrackingView(isAnalyticsTrackingEnabled: Boolean) {
if (BuildConfig.FLAVOR == "foss") { if (BuildConfig.FLAVOR == "foss") {
switch_analytics_tracking.isChecked = false switch_analytics_tracking.isChecked = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment