Skip to content

Commit ff12691

Browse files
committed
fix(tabs): android crash on back navigation
1 parent 511ecc2 commit ff12691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tabs/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class Tabs extends TabNavigation<TabsBar> {
8484
}
8585

8686
protected override setTabStripItems(items: TabStripItem[]) {
87-
if (items.length > 0 && !this.mUnSelectedItemColor) {
87+
if (items?.length > 0 && !this.mUnSelectedItemColor) {
8888
items.some((item) => {
8989
const color = item.label?.style.color;
9090
if (color) {

0 commit comments

Comments
 (0)