mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Optimization
This commit is contained in:
@ -296,8 +296,9 @@ export class ButtonStyler implements style.Styler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (button.style.color && button.style.color.ios){
|
let buttonColor = button.style.color;
|
||||||
dict.set(NSForegroundColorAttributeName, button.style.color.ios);
|
if (buttonColor){
|
||||||
|
dict.set(NSForegroundColorAttributeName, buttonColor.ios);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dict.size > 0){
|
if (dict.size > 0){
|
||||||
|
Reference in New Issue
Block a user