From df712a89d30b645d37e715aa90cdc0c01262d84c Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 1 Mar 2023 10:35:56 -0600 Subject: Fixes to dark mode (#238) --- src/view/com/modals/ReportPost.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/view/com/modals/ReportPost.tsx') 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(false) const [error, setError] = useState('') const [issue, setIssue] = useState('') @@ -67,9 +69,11 @@ export function Component({ } } return ( - - Report post - What is the issue with this post? + + Report post + + What is the issue with this post? + {error ? ( @@ -106,7 +110,6 @@ const styles = StyleSheet.create({ textAlign: 'center', fontSize: 17, paddingHorizontal: 22, - color: colors.gray5, marginBottom: 10, }, btn: { -- cgit 1.4.1