|
@@ -308,7 +308,9 @@ class ProginnBridge {
|
|
|
|
|
|
// ui
|
|
|
setNavigationBarColor(hex: string) {
|
|
|
- if (this.isAndroid || this.compareAppVersion('lt', '4.22.0')) {
|
|
|
+ if (this.isAndroid) {
|
|
|
+ window.appBridge.setTitleBarColor(hex)
|
|
|
+ } else if (this.compareAppVersion('lt', '4.22.0')) {
|
|
|
this.invoke('setTitleBarColor', hex)
|
|
|
} else {
|
|
|
this.invoke('setNavigationBarColor', hex)
|