Skip to content

Commit c0c3bdf

Browse files
Make max Android screens 100 instead
1 parent 5e3f2bd commit c0c3bdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-native-bottom-tabs/android/src/main/java/com/rcttabview/RCTTabView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import com.google.android.material.transition.platform.MaterialFadeThrough
3636

3737
class ExtendedBottomNavigationView(context: Context) : BottomNavigationView(context) {
3838
override fun getMaxItemCount(): Int {
39-
return 1_000
39+
return 100
4040
}
4141
}
4242

packages/react-native-bottom-tabs/src/TabView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ interface Props<Route extends BaseRoute> {
162162
};
163163
}
164164

165-
const ANDROID_MAX_TABS = 1_000;
165+
const ANDROID_MAX_TABS = 100;
166166

167167
const TabView = <Route extends BaseRoute>({
168168
navigationState,

0 commit comments

Comments
 (0)