-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4230cbb
commit a64a746
Showing
8 changed files
with
127 additions
and
50 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
.yarn/patches/react-native-paper-npm-5.12.5-c595c2e788.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
diff --git a/src/components/BottomNavigation/BottomNavigationBar.tsx b/src/components/BottomNavigation/BottomNavigationBar.tsx | ||
index 0bfe303bfb443396ede776726faa0f8ba32752cd..73269f93fe03cd6b07aa54acf2849a638055b07a 100644 | ||
--- a/src/components/BottomNavigation/BottomNavigationBar.tsx | ||
+++ b/src/components/BottomNavigation/BottomNavigationBar.tsx | ||
@@ -4,9 +4,9 @@ import { | ||
ColorValue, | ||
EasingFunction, | ||
Platform, | ||
+ Pressable, | ||
StyleProp, | ||
StyleSheet, | ||
- Pressable, | ||
View, | ||
ViewStyle, | ||
} from 'react-native'; | ||
@@ -14,11 +14,6 @@ import { | ||
import color from 'color'; | ||
import { useSafeAreaInsets } from 'react-native-safe-area-context'; | ||
|
||
-import { | ||
- getActiveTintColor, | ||
- getInactiveTintColor, | ||
- getLabelColor, | ||
-} from './utils'; | ||
import { useInternalTheme } from '../../core/theming'; | ||
import overlay from '../../styles/overlay'; | ||
import { black, white } from '../../styles/themes/v2/colors'; | ||
@@ -30,9 +25,13 @@ import useLayout from '../../utils/useLayout'; | ||
import Badge from '../Badge'; | ||
import Icon, { IconSource } from '../Icon'; | ||
import Surface from '../Surface'; | ||
-import TouchableRipple from '../TouchableRipple/TouchableRipple'; | ||
-import { Props as TouchableRippleProps } from '../TouchableRipple/TouchableRipple'; | ||
+import TouchableRipple, { Props as TouchableRippleProps } from '../TouchableRipple/TouchableRipple'; | ||
import Text from '../Typography/Text'; | ||
+import { | ||
+ getActiveTintColor, | ||
+ getInactiveTintColor, | ||
+ getLabelColor, | ||
+} from './utils'; | ||
|
||
type BaseRoute = { | ||
key: string; | ||
@@ -360,7 +359,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({ | ||
navigationState, | ||
renderIcon, | ||
renderLabel, | ||
- renderTouchable = (props: TouchableProps<Route>) => <Touchable {...props} />, | ||
+ renderTouchable = (props: TouchableProps<Route>) => <Touchable {...props} key={props.key} />, | ||
getLabelText = ({ route }: { route: Route }) => route.title, | ||
getBadge = ({ route }: { route: Route }) => route.badge, | ||
getColor = ({ route }: { route: Route }) => route.color, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
while :; do | ||
adb $@ logcat | sed \ | ||
-e 's/ V /\x00\x1b[0;35m V /g' \ | ||
-e 's/ D /\x00\x1b[0;36m D /g' \ | ||
-e 's/ I /\x00\x1b[0;32m I /g' \ | ||
-e 's/ W /\x00\x1b[0;33m W /g' \ | ||
-e 's/ E /\x00\x1b[0;31m E /g' \ | ||
-e 's/ F /\x00\x1b[0;31m F /g' \ | ||
-e '/Unexpected value from nativeGetEnabledTags/d' \ | ||
-e '/The application may be/d' \ | ||
-e '/onBiometricErrorln_/d' | ||
sleep 1 | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters