mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Add missing "ensure" call.
This commit is contained in:
@ -16,7 +16,7 @@ export module ios {
|
|||||||
if(!view._nativeView){
|
if(!view._nativeView){
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
ensureStyle();
|
||||||
var background = <common.Background> view.style._getValue(style.backgroundInternalProperty);
|
var background = <common.Background> view.style._getValue(style.backgroundInternalProperty);
|
||||||
|
|
||||||
if (!background || background.isEmpty()) {
|
if (!background || background.isEmpty()) {
|
||||||
|
Reference in New Issue
Block a user