For #8637: Remove setActivityTheme outside activity lifecycle scope

fennec/beta
Simon Chae 4 years ago committed by Jeff Boek
parent 4be693255d
commit 0434e53911

@ -112,8 +112,6 @@ class DefaultThemeManager(
if (currentTheme != value) {
field = value
setActivityTheme(activity)
val intent = activity.intent ?: Intent().also { activity.intent = it }
intent.putExtra(HomeActivity.PRIVATE_BROWSING_MODE, value == BrowsingMode.Private)

Loading…
Cancel
Save