mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-29 11:37:07 +08:00
Merge pull request #1014 from QuincyJiang/QuincyJiang-patch-1
fix: set statusbar dark mode bitwise error
This commit is contained in:
@@ -265,7 +265,7 @@ public class QMUIStatusBarHelper {
|
||||
if (light) {
|
||||
systemUi |= View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
|
||||
} else {
|
||||
systemUi ^= View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
|
||||
systemUi &= ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
|
||||
}
|
||||
decorView.setSystemUiVisibility(systemUi);
|
||||
if (QMUIDeviceHelper.isMIUIV9()) {
|
||||
|
||||
Reference in New Issue
Block a user