Skip to content

Commit

Permalink
feat(android): library update, toColor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed May 4, 2023
1 parent d21841f commit e44978e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

dependencies {
implementation 'androidx.browser:browser:1.4.0'
implementation 'androidx.browser:browser:1.5.0'
}
2 changes: 1 addition & 1 deletion android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion android/src/ti/webdialog/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e44978e

Please sign in to comment.