Fix dark theme after enable dynamic color (#2270)
This commit is contained in:
parent
99cb46606f
commit
16fb34b463
|
|
@ -53,9 +53,6 @@ public class BaseActivity extends MaterialActivity {
|
|||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
if (ThemeUtil.isSystemAccent()) {
|
||||
DynamicColors.applyToActivityIfAvailable(this);
|
||||
}
|
||||
// make sure the versions are consistent
|
||||
if (BuildConfig.DEBUG) return;
|
||||
if (!ConfigManager.isBinderAlive()) return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue