diff --git a/doric-android/doric/src/main/java/pub/doric/plugin/StatusBarPlugin.java b/doric-android/doric/src/main/java/pub/doric/plugin/StatusBarPlugin.java index b1a5c179..dc2dc408 100644 --- a/doric-android/doric/src/main/java/pub/doric/plugin/StatusBarPlugin.java +++ b/doric-android/doric/src/main/java/pub/doric/plugin/StatusBarPlugin.java @@ -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; }