mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
various tests fixed
This commit is contained in:
@ -26,7 +26,7 @@ export function getNativeColor(textField: textFieldModule.TextField): colorModul
|
||||
}
|
||||
|
||||
export function getNativeBackgroundColor(textField: textFieldModule.TextField): colorModule.Color {
|
||||
return new colorModule.Color((<android.graphics.drawable.ColorDrawable>textField.android.getBackground()).getColor());
|
||||
return new colorModule.Color((<any>textField.android.getBackground()).backgroundColor);
|
||||
}
|
||||
|
||||
export function getNativeTextAlignment(textField: textFieldModule.TextField): string {
|
||||
|
Reference in New Issue
Block a user