diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-01 10:35:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 10:35:56 -0600 |
commit | df712a89d30b645d37e715aa90cdc0c01262d84c (patch) | |
tree | e3248c20fdf770d1450bd9d6901a7b10fdc01a0a /src/view/com/modals/ReportPost.tsx | |
parent | d054b1baf85bbeb2308ccbd752a77315aa3b2e26 (diff) | |
download | voidsky-df712a89d30b645d37e715aa90cdc0c01262d84c.tar.zst |
Fixes to dark mode (#238)
Diffstat (limited to 'src/view/com/modals/ReportPost.tsx')
-rw-r--r-- | src/view/com/modals/ReportPost.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/view/com/modals/ReportPost.tsx b/src/view/com/modals/ReportPost.tsx index 3d47e7ef0..3e876c6c8 100644 --- a/src/view/com/modals/ReportPost.tsx +++ b/src/view/com/modals/ReportPost.tsx @@ -14,6 +14,7 @@ import {Text} from '../util/text/Text' import * as Toast from '../util/Toast' import {ErrorMessage} from '../util/error/ErrorMessage' import {cleanError} from 'lib/strings/errors' +import {usePalette} from 'lib/hooks/usePalette' const ITEMS: RadioGroupItem[] = [ {key: 'spam', label: 'Spam or excessive repeat posts'}, @@ -32,6 +33,7 @@ export function Component({ postCid: string }) { const store = useStores() + const pal = usePalette('default') const [isProcessing, setIsProcessing] = useState<boolean>(false) const [error, setError] = useState<string>('') const [issue, setIssue] = useState<string>('') @@ -67,9 +69,11 @@ export function Component({ } } return ( - <View style={[s.flex1, s.pl10, s.pr10]}> - <Text style={styles.title}>Report post</Text> - <Text style={styles.description}>What is the issue with this post?</Text> + <View style={[s.flex1, s.pl10, s.pr10, pal.view]}> + <Text style={[pal.text, styles.title]}>Report post</Text> + <Text style={[pal.textLight, styles.description]}> + What is the issue with this post? + </Text> <RadioGroup items={ITEMS} onSelect={onSelectIssue} /> {error ? ( <View style={s.mt10}> @@ -106,7 +110,6 @@ const styles = StyleSheet.create({ textAlign: 'center', fontSize: 17, paddingHorizontal: 22, - color: colors.gray5, marginBottom: 10, }, btn: { |