Skip to content

Commit

Permalink
fix(android): override global.L behavior for non-string default values
Browse files Browse the repository at this point in the history
match Ti.Local.getString in returning key for non-string default values supplied
  • Loading branch information
sgtcoolguy committed Jan 13, 2021
1 parent d8261b9 commit 6f6cea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/Resources/ti.internal/extensions/ti/ti.locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ if (OS_ANDROID) {

return wrappedGetString.call(Locale, key, defaultValue);
};
global.L = Locale.getString;
}

0 comments on commit 6f6cea2

Please sign in to comment.