From e44978ef8fc44882fc9054efc34a7b79312e1343 Mon Sep 17 00:00:00 2001 From: m1ga Date: Thu, 4 May 2023 12:15:43 +0200 Subject: [PATCH] feat(android): library update, toColor fix --- android/build.gradle | 2 +- android/manifest | 2 +- android/src/ti/webdialog/Utils.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 056fcbb..6e9cffe 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,4 +1,4 @@ dependencies { - implementation 'androidx.browser:browser:1.4.0' + implementation 'androidx.browser:browser:1.5.0' } diff --git a/android/manifest b/android/manifest index 198f04d..f2c4235 100644 --- a/android/manifest +++ b/android/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 2.2.0 +version: 2.3.0 apiversion: 4 architectures: arm64-v8a armeabi-v7a x86 x86_64 description: titanium-web-dialog diff --git a/android/src/ti/webdialog/Utils.java b/android/src/ti/webdialog/Utils.java index d51494f..f2c3cca 100644 --- a/android/src/ti/webdialog/Utils.java +++ b/android/src/ti/webdialog/Utils.java @@ -65,7 +65,7 @@ public static boolean getBool(KrollDict options, String key) public static int getColor(KrollDict options, String key) { if (options.containsKeyAndNotNull(key)) { - return TiConvert.toColor((String) options.get(key)); + return TiConvert.toColor((String) options.get(key), TiApplication.getAppCurrentActivity()); } else { return getR("color.colorPrimary");