Skip to content

Commit ec67a95

Browse files
committed
fix(bottomnavigationbar): ios fixed wrong selected icon
1 parent 4d8a8f7 commit ec67a95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bottomnavigationbar/bottomnavigationbar.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ export class BottomNavigationTab extends BottomNavigationTabBase {
211211
}
212212
[iconProperty.setNative](iconSource) {
213213
this.nativeViewProtected.image = this.getNativeIcon();
214+
this.nativeViewProtected.selectedImage = this.nativeViewProtected.image;
214215
}
215216
getMDView() {
216217
return (this.parent as BottomNavigationBar).nativeViewProtected.viewForItem(this.nativeViewProtected) as MDCBottomNavigationItemView;

0 commit comments

Comments
 (0)