Skip to content

Commit

Permalink
Merge pull request #286 from tidev/230504_update
Browse files Browse the repository at this point in the history
feat(android): library update, toColor fix
  • Loading branch information
cb1kenobi authored May 13, 2023
2 parents d21841f + e44978e commit beb16cc
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 beb16cc

Please sign in to comment.