@capgo/inappbrowser 6.0.20 → 6.0.22

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.
@@ -169,6 +169,7 @@ public class InAppBrowserPlugin: CAPPlugin {
169
169
  self.navigationWebViewController?.toolbar.isTranslucent = false
170
170
  self.navigationWebViewController?.navigationBar.backgroundColor = backgroundColor
171
171
  self.navigationWebViewController?.toolbar.backgroundColor = backgroundColor
172
+ self.navigationWebViewController?.toolbar.tintColor = backgroundColor == UIColor.black ? UIColor.white : UIColor.black
172
173
  self.navigationWebViewController?.modalPresentationStyle = .fullScreen
173
174
  if toolbarType == "blank" {
174
175
  self.navigationWebViewController?.navigationBar.isHidden = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "6.0.20",
3
+ "version": "6.0.22",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",