Fix dark theme after enable dynamic color (#2270)

This commit is contained in:
Howard Wu 2022-12-04 17:43:05 +08:00 committed by GitHub
parent 99cb46606f
commit 16fb34b463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

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