fix: typo on android utils, getPalleteColor to getPaletteColor (#4687)

* fix: typo on android, getPalleteColor to getPaletteColor

* fix: adress comments
This commit is contained in:
Daniel Leal
2017-08-24 09:55:31 +01:00
committed by Alexander Vakrilov
parent 1171da2742
commit 7b364613da
3 changed files with 12 additions and 4 deletions

View File

@@ -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);
}