Skip to content

Commit 8d035e3

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 1f50fb0 + f39b550 commit 8d035e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

android/src/main/java/com/squareetlabs/capacitor/navigationbar/NavigationBarPlugin.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ public void setColor(PluginCall call) {
125125
windowInsetsController.setAppearanceLightNavigationBars(darkButtons);
126126

127127
this.currentColor = Color.parseColor(color);
128-
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R || !this.isTransparent) {
129-
window.setNavigationBarColor(this.currentColor);
130-
}
128+
window.setNavigationBarColor(this.currentColor);
131129

132130
String newColor = String.format("#%08X", (this.currentColor));
133131
newColor = newColor.replace("#FF", "#");

0 commit comments

Comments
 (0)