mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Add back disabled color
This commit is contained in:
@ -27,7 +27,12 @@ const Core: React.FC<Props> = ({ text, destructive = false }) => {
|
||||
|
||||
return (
|
||||
<View style={styles.core}>
|
||||
<Text style={{ color: destructive ? theme.red : theme.primary }}>
|
||||
<Text
|
||||
style={{
|
||||
color: destructive ? theme.red : theme.primary,
|
||||
fontWeight: destructive ? StyleConstants.Font.Weight.Bold : undefined
|
||||
}}
|
||||
>
|
||||
{text}
|
||||
</Text>
|
||||
</View>
|
||||
|
Reference in New Issue
Block a user