mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: typo on android utils, getPalleteColor to getPaletteColor (#4687)
* fix: typo on android, getPalleteColor to getPaletteColor * fix: adress comments
This commit is contained in:
committed by
Alexander Vakrilov
parent
1171da2742
commit
7b364613da
@@ -166,8 +166,10 @@ export module ad {
|
||||
var uri = packageName + name;
|
||||
return resources.getIdentifier(uri, null, null);
|
||||
}
|
||||
|
||||
export function getPalleteColor(name: string, context: android.content.Context): number {
|
||||
return getPaletteColor(name, context);
|
||||
}
|
||||
export function getPaletteColor(name: string, context: android.content.Context): number {
|
||||
if (attrCache.has(name)) {
|
||||
return attrCache.get(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user