1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Update color scheme

This commit is contained in:
Zhiyuan Zheng
2020-12-26 00:40:27 +01:00
parent 9d1c366eda
commit 7f574576ef
17 changed files with 138 additions and 108 deletions

View File

@@ -31,6 +31,8 @@ import { StyleConstants } from '@utils/styles/constants'
import { useTheme } from '@utils/styles/ThemeManager'
import formatText from '@screens/Shared/Compose/formatText'
import { useQueryClient } from 'react-query'
import Toast from 'react-native-toast-message'
import { toastConfig } from '@root/components/toast'
const Stack = createNativeStackNavigator()
@@ -566,8 +568,7 @@ const Compose: React.FC<Props> = ({ route: { params }, navigation }) => {
style={[
styles.count,
{
color:
totalTextCount > 500 ? theme.error : theme.secondary
color: totalTextCount > 500 ? theme.red : theme.secondary
}
]}
>
@@ -596,6 +597,7 @@ const Compose: React.FC<Props> = ({ route: { params }, navigation }) => {
</Stack.Screen>
</Stack.Navigator>
</SafeAreaView>
<Toast ref={(ref: any) => Toast.setRef(ref)} config={toastConfig} />
</KeyboardAvoidingView>
)
}