Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Aug 8, 2024
1 parent cd52ba0 commit 492a56a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public void setStyle(String style) {
}

private String getStyleForTheme() {
int currentNightMode = activity.getResources().getConfiguration().uiMode
& Configuration.UI_MODE_NIGHT_MASK;
int currentNightMode = activity.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
if (currentNightMode != Configuration.UI_MODE_NIGHT_YES) {
return "LIGHT";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.capacitorjs.plugins.statusbar;

import android.content.res.Configuration;

import com.getcapacitor.JSObject;
import com.getcapacitor.Plugin;
import com.getcapacitor.PluginCall;
Expand Down

0 comments on commit 492a56a

Please sign in to comment.