Browse Source

For #8354 Fix uppdating theme when coming from external links

master
mcarare 2 years ago
committed by Jeff Boek
parent
commit
5fd3894171
  1. 2
      app/src/main/java/org/mozilla/fenix/HomeActivity.kt

2
app/src/main/java/org/mozilla/fenix/HomeActivity.kt

@ -391,9 +391,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity() {
fun updateThemeForSession(session: Session) {
val sessionMode = BrowsingMode.fromBoolean(session.private)
if (sessionMode != browsingModeManager.mode) {
browsingModeManager.mode = sessionMode
}
}
protected open fun createThemeManager(): ThemeManager {

Loading…
Cancel
Save