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

@@ -176,11 +176,17 @@ export module ad {
*/
export function getId(name: string): number;
/**
* [Obsolete - please use getPaletteColor] Gets a color from current theme.
* @param name - Name of the color
*/
export function getPalleteColor();
/**
* Gets a color from the current theme.
* @param name - Name of the color resource.
*/
export function getPalleteColor(name: string, context: any /* android.content.Context */): number;
export function getPaletteColor(name: string, context: any /* android.content.Context */): number;
}
}
/**