@capacitor/status-bar 1.0.7 → 1.0.8
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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.8](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/status-bar@1.0.7...@capacitor/status-bar@1.0.8) (2022-02-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **status-bar:** Use Locale.ROOT on toUpperCase ([#814](https://github.com/ionic-team/capacitor-plugins/issues/814)) ([bf804ce](https://github.com/ionic-team/capacitor-plugins/commit/bf804ceaa5b7ee94ddeff052511db7c6ee49b4e6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/status-bar@1.0.6...@capacitor/status-bar@1.0.7) (2022-01-19)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -6,6 +6,7 @@ import com.getcapacitor.PluginCall;
|
|
|
6
6
|
import com.getcapacitor.PluginMethod;
|
|
7
7
|
import com.getcapacitor.annotation.CapacitorPlugin;
|
|
8
8
|
import com.getcapacitor.util.WebColor;
|
|
9
|
+
import java.util.Locale;
|
|
9
10
|
|
|
10
11
|
@CapacitorPlugin(name = "StatusBar")
|
|
11
12
|
public class StatusBarPlugin extends Plugin {
|
|
@@ -46,7 +47,7 @@ public class StatusBarPlugin extends Plugin {
|
|
|
46
47
|
.executeOnMainThread(
|
|
47
48
|
() -> {
|
|
48
49
|
try {
|
|
49
|
-
final int parsedColor = WebColor.parseColor(color.toUpperCase());
|
|
50
|
+
final int parsedColor = WebColor.parseColor(color.toUpperCase(Locale.ROOT));
|
|
50
51
|
implementation.setBackgroundColor(parsedColor);
|
|
51
52
|
call.resolve();
|
|
52
53
|
} catch (IllegalArgumentException ex) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/status-bar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
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",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "5bebfefe9bdca4d49f0e02dab74b02a692d3ed86"
|
|
83
83
|
}
|