about summary refs log tree commit diff
path: root/src/view/shell/mobile
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-20 12:49:44 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-20 12:49:44 -0600
commitabcfc11fe0e9f92fa2c63d7186270f4116ee72a6 (patch)
treea46c88ed3c3fe87ddb907801e0be73a55bbf4eac /src/view/shell/mobile
parent74d76fbc6ab9245a6966eae7f5e75b235edea7d3 (diff)
downloadvoidsky-abcfc11fe0e9f92fa2c63d7186270f4116ee72a6.tar.zst
Wrap all <Text> in a helper that ensures black color is applied by default
Diffstat (limited to 'src/view/shell/mobile')
-rw-r--r--src/view/shell/mobile/Menu.tsx2
-rw-r--r--src/view/shell/mobile/TabsSelector.tsx2
-rw-r--r--src/view/shell/mobile/index.tsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/view/shell/mobile/Menu.tsx b/src/view/shell/mobile/Menu.tsx
index d57447d41..8c11e3e8e 100644
--- a/src/view/shell/mobile/Menu.tsx
+++ b/src/view/shell/mobile/Menu.tsx
@@ -2,7 +2,6 @@ import React, {useEffect} from 'react'
 import {
   StyleProp,
   StyleSheet,
-  Text,
   TouchableOpacity,
   View,
   ViewStyle,
@@ -18,6 +17,7 @@ import {
   MagnifyingGlassIcon,
 } from '../../lib/icons'
 import {UserAvatar} from '../../com/util/UserAvatar'
+import {Text} from '../../com/util/Text'
 import {CreateSceneModal} from '../../../state/models/shell-ui'
 
 export const Menu = ({
diff --git a/src/view/shell/mobile/TabsSelector.tsx b/src/view/shell/mobile/TabsSelector.tsx
index 28f488f01..d44a8e0c6 100644
--- a/src/view/shell/mobile/TabsSelector.tsx
+++ b/src/view/shell/mobile/TabsSelector.tsx
@@ -5,12 +5,12 @@ import {
   ScrollView,
   Share,
   StyleSheet,
-  Text,
   TouchableWithoutFeedback,
   View,
 } from 'react-native'
 import {useSafeAreaInsets} from 'react-native-safe-area-context'
 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
+import {Text} from '../../com/util/Text'
 import Swipeable from 'react-native-gesture-handler/Swipeable'
 import {useStores} from '../../../state'
 import {s, colors} from '../../lib/styles'
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index 308501d24..6437d6969 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -7,7 +7,6 @@ import {
   GestureResponderEvent,
   SafeAreaView,
   StyleSheet,
-  Text,
   TouchableOpacity,
   TouchableWithoutFeedback,
   useColorScheme,
@@ -30,6 +29,7 @@ import {Onboard} from '../../screens/Onboard'
 import {HorzSwipe} from '../../com/util/gestures/HorzSwipe'
 import {Modal} from '../../com/modals/Modal'
 import {Lightbox} from '../../com/lightbox/Lightbox'
+import {Text} from '../../com/util/Text'
 import {TabsSelector} from './TabsSelector'
 import {Composer} from './Composer'
 import {s, colors} from '../../lib/styles'