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
|
// This is needed thanks to OEMs breaking the MY_PACKAGE_REPLACED API
|
||||||
MigrationReceiver.runMigrationsIfRequired(this)
|
MigrationReceiver.runMigrationsIfRequired(this)
|
||||||
|
|
||||||
applyThemeAccent()
|
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
|
applyThemeAccent()
|
||||||
|
|
||||||
B = ActivityMainBinding.inflate(layoutInflater)
|
B = ActivityMainBinding.inflate(layoutInflater)
|
||||||
setContentView(B.root)
|
setContentView(B.root)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user