Skip to content

Commit 34fed39

Browse files
authored
Update bottomnavigationbar.ios.ts
1 parent 116dd86 commit 34fed39

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/bottomnavigationbar/bottomnavigationbar.ios.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,7 @@ export class BottomNavigationBar extends BottomNavigationBarBase {
140140
return tab;
141141
});
142142
this.nativeViewProtected.items = new NSArray({ array: bottomNavigationTabs });
143-
144-
// TODO: this is for he v8 runtime. Should not have to need this setTimeout(), find better way.
145-
setTimeout(() => {
146-
this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
147-
}, 0);
143+
this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
148144
}
149145

150146
protected selectTabNative(index: number): void {

0 commit comments

Comments
 (0)