日夜间模式的切换(修复首页tab日夜间模式切换变色异常) https://git.shanqu.cc/halo/android/assistant-android/-/issues/65

This commit is contained in:
leafwai
2022-05-11 17:55:52 +08:00
parent 5af3894ae3
commit 2d651572d0
2 changed files with 7 additions and 1 deletions

View File

@ -1036,4 +1036,10 @@ public class MainActivity extends BaseActivity {
protected boolean isAutoResetViewBackgroundEnabled() {
return true;
}
@Override
protected void updateStaticViewBackground(View view) {
if (mMainWrapperFragment.getCurrentItem() == MainWrapperFragment.INDEX_HOME) return;
super.updateStaticViewBackground(view);
}
}