File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/react-native-bottom-tabs/android/src/main/java/com/rcttabview Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ import com.google.android.material.navigation.NavigationBarView.LABEL_VISIBILITY
3434import com.google.android.material.navigation.NavigationBarView.LABEL_VISIBILITY_UNLABELED
3535import com.google.android.material.transition.platform.MaterialFadeThrough
3636
37+ class ExtendedBottomNavigationView (context : Context ) : BottomNavigationView(context) {
38+ override fun getMaxItemCount (): Int {
39+ return 1_000
40+ }
41+ }
42+
3743class ReactBottomNavigationView (context : Context ) : LinearLayout(context) {
3844 private var bottomNavigation = ExtendedBottomNavigationView (context)
3945 val layoutHolder = FrameLayout (context)
@@ -464,9 +470,3 @@ class ReactBottomNavigationView(context: Context) : LinearLayout(context) {
464470 uiModeConfiguration = newConfig?.uiMode ? : uiModeConfiguration
465471 }
466472}
467-
468- class ExtendedBottomNavigationView (context : Context ) : BottomNavigationView(context) {
469- override fun getMaxItemCount (): Int {
470- return 1_000
471- }
472- }
You can’t perform that action at this time.
0 commit comments