diff --git a/status-bar/android/src/main/java/com/capacitorjs/plugins/statusbar/StatusBar.java b/status-bar/android/src/main/java/com/capacitorjs/plugins/statusbar/StatusBar.java index 48efee12b..0239bd845 100644 --- a/status-bar/android/src/main/java/com/capacitorjs/plugins/statusbar/StatusBar.java +++ b/status-bar/android/src/main/java/com/capacitorjs/plugins/statusbar/StatusBar.java @@ -29,8 +29,6 @@ public StatusBar(AppCompatActivity activity, StatusBarConfig config, ChangeListe this.activity = activity; this.currentStatusBarColor = activity.getWindow().getStatusBarColor(); this.listener = listener; - this.defaultStyle = getStyle(); - setBackgroundColor(config.getBackgroundColor()); setStyle(config.getStyle()); setOverlaysWebView(config.isOverlaysWebView());