Skip to content

Commit 0750fef

Browse files
authored
Merge pull request #286 from Logikgate/patch-1
fix(tabs ios): Setting unselected color crashes app
2 parents f8ea688 + 6f6898b commit 0750fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tabs/tabs.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ export class Tabs extends TabsBase {
998998
this.viewController.tabBar.setTitleColorForState(this._selectedItemColor.ios, UIControlState.Selected);
999999
}
10001000
if (this._unSelectedItemColor) {
1001-
this.viewController.tabBar.setTitleColorForState(this._selectedItemColor.ios, UIControlState.Normal);
1001+
this.viewController.tabBar.setTitleColorForState(this._unSelectedItemColor.ios, UIControlState.Normal);
10021002
}
10031003
}
10041004

0 commit comments

Comments
 (0)