From 806d3a88261c4ec272e049927c9a5ac25f08533b Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Wed, 27 Mar 2024 16:51:16 -0300 Subject: [PATCH] fix color --- app/views/StatusView/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/StatusView/index.tsx b/app/views/StatusView/index.tsx index 3866bbc88..3d4f4f27f 100644 --- a/app/views/StatusView/index.tsx +++ b/app/views/StatusView/index.tsx @@ -17,6 +17,7 @@ import { Services } from '../../lib/services'; import { getUserSelector } from '../../selectors/login'; import { showErrorAlert } from '../../lib/methods/helpers'; import log, { events, logEvent } from '../../lib/methods/helpers/log'; +import { useTheme } from '../../theme'; interface IStatus { id: TUserStatus; @@ -53,7 +54,9 @@ const styles = StyleSheet.create({ }, inputStyle: { paddingLeft: 48, - borderRadius: 0 + borderRadius: 0, + borderTopWidth: 1, + borderBottomWidth: 1 } }); @@ -96,6 +99,8 @@ const StatusView = (): React.ReactElement => { const dispatch = useDispatch(); const { setOptions, goBack } = useNavigation(); + const { colors } = useTheme(); + useEffect(() => { const submit = async () => { logEvent(events.STATUS_DONE); @@ -161,6 +166,7 @@ const StatusView = (): React.ReactElement => { } ListFooterComponent={List.Separator} ItemSeparatorComponent={List.Separator} + style={{ backgroundColor: colors.surfaceTint }} /> );