Skip to content

Commit beb16cc

Browse files
authored
Merge pull request #286 from tidev/230504_update
feat(android): library update, toColor fix
2 parents d21841f + e44978e commit beb16cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
dependencies {
3-
implementation 'androidx.browser:browser:1.4.0'
3+
implementation 'androidx.browser:browser:1.5.0'
44
}

android/manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# this is your module manifest and used by Titanium
33
# during compilation, packaging, distribution, etc.
44
#
5-
version: 2.2.0
5+
version: 2.3.0
66
apiversion: 4
77
architectures: arm64-v8a armeabi-v7a x86 x86_64
88
description: titanium-web-dialog

android/src/ti/webdialog/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static boolean getBool(KrollDict options, String key)
6565
public static int getColor(KrollDict options, String key)
6666
{
6767
if (options.containsKeyAndNotNull(key)) {
68-
return TiConvert.toColor((String) options.get(key));
68+
return TiConvert.toColor((String) options.get(key), TiApplication.getAppCurrentActivity());
6969

7070
} else {
7171
return getR("color.colorPrimary");

0 commit comments

Comments
 (0)