@capacitor/android 8.3.5-nightly-20260601T165419.0 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -304,19 +304,21 @@ public class SystemBars extends Plugin {
|
|
|
304
304
|
WindowInsetsControllerCompat windowInsetsControllerCompat = WindowCompat.getInsetsController(window, window.getDecorView());
|
|
305
305
|
|
|
306
306
|
if (hide) {
|
|
307
|
-
if (bar.isEmpty()
|
|
307
|
+
if (bar.isEmpty()) {
|
|
308
|
+
windowInsetsControllerCompat.hide(WindowInsetsCompat.Type.systemBars());
|
|
309
|
+
} else if (bar.equals(BAR_STATUS_BAR)) {
|
|
308
310
|
windowInsetsControllerCompat.hide(WindowInsetsCompat.Type.statusBars());
|
|
309
|
-
}
|
|
310
|
-
if (bar.isEmpty() || bar.equals(BAR_GESTURE_BAR)) {
|
|
311
|
+
} else if (bar.equals(BAR_GESTURE_BAR)) {
|
|
311
312
|
windowInsetsControllerCompat.hide(WindowInsetsCompat.Type.navigationBars());
|
|
312
313
|
}
|
|
313
314
|
return;
|
|
314
315
|
}
|
|
315
316
|
|
|
316
|
-
if (bar.isEmpty()
|
|
317
|
+
if (bar.isEmpty()) {
|
|
317
318
|
windowInsetsControllerCompat.show(WindowInsetsCompat.Type.systemBars());
|
|
318
|
-
}
|
|
319
|
-
|
|
319
|
+
} else if (bar.equals(BAR_STATUS_BAR)) {
|
|
320
|
+
windowInsetsControllerCompat.show(WindowInsetsCompat.Type.statusBars());
|
|
321
|
+
} else if (bar.equals(BAR_GESTURE_BAR)) {
|
|
320
322
|
windowInsetsControllerCompat.show(WindowInsetsCompat.Type.navigationBars());
|
|
321
323
|
}
|
|
322
324
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/android",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"verify": "./gradlew clean lint build test -b capacitor/build.gradle"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@capacitor/core": "^8.
|
|
26
|
+
"@capacitor/core": "^8.4.0"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|