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