various tests fixed

This commit is contained in:
Vladimir Enchev
2015-06-12 15:50:31 +03:00
parent 4673b97eae
commit 072ffed26b
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ export function getNativeColor(button: buttonModule.Button): colorModule.Color {
}
export function getNativeBackgroundColor(button: buttonModule.Button): colorModule.Color {
return new colorModule.Color((<android.graphics.drawable.ColorDrawable>button.android.getBackground()).getColor());
return new colorModule.Color((<any>button.android.getBackground()).backgroundColor);
}
export function getNativeTextAlignment(button: buttonModule.Button): string {