Skip to content

Commit

Permalink
Merge pull request #835 from ambrosus/AMB-5077
Browse files Browse the repository at this point in the history
fix: settings item style
  • Loading branch information
EvgeniyJB authored Nov 29, 2024
2 parents f2ab58d + 2f229ce commit b2d5a97
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/screens/Settings/screens/About/About.MenuItem.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -12,13 +11,12 @@ export const AboutMenutItem = (props: { title: string }) => {
style={styles.menuItem}
>
<Text
color={COLORS.neutral500}
color={COLORS.neutral900}
fontSize={16}
fontFamily="Inter_600SemiBold"
>
{props.title}
</Text>
<ChevronDownIcon rotate="270deg" color={COLORS.neutral300} />
</Row>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -18,7 +17,7 @@ export const AppPreferencesMenuItem = (props: AppPreference) => {
<Text
fontSize={16}
fontFamily="Inter_600SemiBold"
color={COLORS.neutral500}
color={COLORS.neutral900}
>
{title}
</Text>
Expand All @@ -31,7 +30,6 @@ export const AppPreferencesMenuItem = (props: AppPreference) => {
{value}
</Text>
<Spacer value={scale(8)} horizontal />
<ChevronDownIcon rotate="270deg" color={COLORS.neutral300} />
</Row>
</Row>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ export const BottomSheetSelectLanguage = forwardRef<BottomSheetRef, Props>(
fontSize={scale(16)}
color={COLORS.neutral900}
>
{t('settings.preferences.select.language')}
{t('settings.preferences.language')}
</Text>
}
titlePosition={Platform.select({ ios: 'left', default: 'center' })}
titlePosition={'center'}
backIconVisible={true}
style={styles.header}
onBackPress={() => localRef.current?.dismiss()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const NotificationSettingsScreen = () => {
<SafeAreaView>
<Header
bottomBorder
title={t('tab.settings')}
title={t('tab.notifications')}
style={{ backgroundColor: 'transparent' }}
/>
<NotificationSettingsView />
Expand Down

0 comments on commit b2d5a97

Please sign in to comment.