[fenix] For https://github.com/mozilla-mobile/fenix/issues/8637: Remove setActivityTheme outside activity lifecycle scope

pull/600/head
Simon Chae 5 years ago committed by Jeff Boek
parent 20ed966332
commit ddead9bd7f

@ -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