From 2f229ceed8553e6de17bcce56c5562ead8cf0a06 Mon Sep 17 00:00:00 2001
From: EvgeniyJB <81742350+EvgeniyJB@users.noreply.github.com>
Date: Fri, 29 Nov 2024 17:22:31 +0100
Subject: [PATCH] fix: settings item style
---
src/screens/Settings/screens/About/About.MenuItem.tsx | 4 +---
.../screens/AppPreferences/components/PrefrencesMenuItem.tsx | 4 +---
.../components/modals/BottomSheetSelectLanguage/index.tsx | 4 ++--
src/screens/Settings/screens/NotificationSettings/index.tsx | 2 +-
4 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/screens/Settings/screens/About/About.MenuItem.tsx b/src/screens/Settings/screens/About/About.MenuItem.tsx
index 54e3651ba..cdc241271 100644
--- a/src/screens/Settings/screens/About/About.MenuItem.tsx
+++ b/src/screens/Settings/screens/About/About.MenuItem.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import { Row, Text } from '@components/base';
-import { ChevronDownIcon } from '@components/svg/icons';
import { COLORS } from '@constants/colors';
import { styles } from './styles';
@@ -12,13 +11,12 @@ export const AboutMenutItem = (props: { title: string }) => {
style={styles.menuItem}
>
{props.title}
-
);
};
diff --git a/src/screens/Settings/screens/AppPreferences/components/PrefrencesMenuItem.tsx b/src/screens/Settings/screens/AppPreferences/components/PrefrencesMenuItem.tsx
index c9284646d..913838c7f 100644
--- a/src/screens/Settings/screens/AppPreferences/components/PrefrencesMenuItem.tsx
+++ b/src/screens/Settings/screens/AppPreferences/components/PrefrencesMenuItem.tsx
@@ -4,7 +4,6 @@ import { Row, Spacer, Text } from '@components/base';
import { StyleSheet } from 'react-native';
import { moderateScale, scale, verticalScale } from '@utils/scaling';
import { COLORS } from '@constants/colors';
-import { ChevronDownIcon } from '@components/svg/icons';
export const AppPreferencesMenuItem = (props: AppPreference) => {
const { title, value } = props;
@@ -18,7 +17,7 @@ export const AppPreferencesMenuItem = (props: AppPreference) => {
{title}
@@ -31,7 +30,6 @@ export const AppPreferencesMenuItem = (props: AppPreference) => {
{value}
-
);
diff --git a/src/screens/Settings/screens/AppPreferences/components/modals/BottomSheetSelectLanguage/index.tsx b/src/screens/Settings/screens/AppPreferences/components/modals/BottomSheetSelectLanguage/index.tsx
index 61b5d2eab..2636f71cc 100644
--- a/src/screens/Settings/screens/AppPreferences/components/modals/BottomSheetSelectLanguage/index.tsx
+++ b/src/screens/Settings/screens/AppPreferences/components/modals/BottomSheetSelectLanguage/index.tsx
@@ -84,10 +84,10 @@ export const BottomSheetSelectLanguage = forwardRef(
fontSize={scale(16)}
color={COLORS.neutral900}
>
- {t('settings.preferences.select.language')}
+ {t('settings.preferences.language')}
}
- titlePosition={Platform.select({ ios: 'left', default: 'center' })}
+ titlePosition={'center'}
backIconVisible={true}
style={styles.header}
onBackPress={() => localRef.current?.dismiss()}
diff --git a/src/screens/Settings/screens/NotificationSettings/index.tsx b/src/screens/Settings/screens/NotificationSettings/index.tsx
index b08035fd4..e6f81ce0e 100644
--- a/src/screens/Settings/screens/NotificationSettings/index.tsx
+++ b/src/screens/Settings/screens/NotificationSettings/index.tsx
@@ -10,7 +10,7 @@ export const NotificationSettingsScreen = () => {