@capacitor/status-bar 7.0.3-nightly-20250815T150608.0 → 7.0.3-nightly-20250819T150624.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.
|
@@ -124,9 +124,17 @@ public class StatusBar {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
private func resizeWebView() {
|
|
127
|
+
var bounds: CGRect? = nil
|
|
128
|
+
|
|
129
|
+
if #available(iOS 15.0, *) {
|
|
130
|
+
bounds = bridge.viewController?.view.window?.windowScene?.keyWindow?.bounds
|
|
131
|
+
} else {
|
|
132
|
+
bounds = bridge.viewController?.view.window?.windowScene?.screen.bounds
|
|
133
|
+
}
|
|
134
|
+
|
|
127
135
|
guard
|
|
128
136
|
let webView = bridge.webView,
|
|
129
|
-
let bounds =
|
|
137
|
+
let bounds = bounds
|
|
130
138
|
else { return }
|
|
131
139
|
bridge.viewController?.view.frame = bounds
|
|
132
140
|
webView.frame = bounds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/status-bar",
|
|
3
|
-
"version": "7.0.3-nightly-
|
|
3
|
+
"version": "7.0.3-nightly-20250819T150624.0",
|
|
4
4
|
"description": "The StatusBar API Provides methods for configuring the style of the Status Bar, along with showing or hiding it.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "fb13a385a9e2c414420b398c2227483b2f4d1740"
|
|
85
85
|
}
|