Apply theme after view is created
This commit is contained in:
@@ -69,9 +69,10 @@ class MainActivity : AppCompatActivity() {
|
||||
// This is needed thanks to OEMs breaking the MY_PACKAGE_REPLACED API
|
||||
MigrationReceiver.runMigrationsIfRequired(this)
|
||||
|
||||
applyThemeAccent()
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
applyThemeAccent()
|
||||
|
||||
B = ActivityMainBinding.inflate(layoutInflater)
|
||||
setContentView(B.root)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user