mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(tabs): dynamic styling colors fixed (#8460)
* fix(tabs): dynamic styling colors fixed * test(tabs): adding dynamic color change test
This commit is contained in:
@@ -1030,6 +1030,7 @@ export class Tabs extends TabsBase {
|
||||
|
||||
public setTabBarSelectedItemColor(value: Color) {
|
||||
this._selectedItemColor = value;
|
||||
this.setItemColors();
|
||||
}
|
||||
|
||||
public getTabBarUnSelectedItemColor(): Color {
|
||||
@@ -1038,6 +1039,7 @@ export class Tabs extends TabsBase {
|
||||
|
||||
public setTabBarUnSelectedItemColor(value: Color) {
|
||||
this._unSelectedItemColor = value;
|
||||
this.setItemColors();
|
||||
}
|
||||
|
||||
private visitFrames(view: ViewBase, operation: (frame: Frame) => {}) {
|
||||
|
||||
Reference in New Issue
Block a user