android:Switch statusbar mode
This commit is contained in:
parent
d713b04d51
commit
523beaa0e1
@ -84,9 +84,9 @@ public class StatusBarPlugin extends DoricJavaPlugin {
|
||||
@Override
|
||||
public Object call() {
|
||||
if (mode == 0) {
|
||||
QMUIStatusBarHelper.setStatusBarLightMode((Activity) getDoricContext().getContext());
|
||||
} else {
|
||||
QMUIStatusBarHelper.setStatusBarDarkMode((Activity) getDoricContext().getContext());
|
||||
} else {
|
||||
QMUIStatusBarHelper.setStatusBarLightMode((Activity) getDoricContext().getContext());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user