Skip to content

Commit

Permalink
Merge branch 'fix/general-fixes' into 'develop'
Browse files Browse the repository at this point in the history
Fix / general fixes

See merge request minds/mobile-native!2807
  • Loading branch information
msantang78 committed Oct 23, 2024
2 parents eb0e9dc + 3c0a57b commit 6d12046
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/auth/ChangeEmailScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ChangeEmailScreen = () => {
return (
<>
<CodeConfirmScreen
onBack={sp.navigation.goBack}
onBack={() => sp.navigation.goBack()}
title={'Change email'}
description={sp.i18n.t('auth.mistypedEmail')}
keyboardType={'email-address'}
Expand Down
2 changes: 1 addition & 1 deletion src/onboarding/v2/steps/SelectHashtagsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default withErrorBoundaryScreen(
<ModalContainer
title="Hashtags"
contentContainer={theme.alignSelfCenterMaxWidth}
onPressBack={sp.navigation.goBack}>
onPressBack={() => sp.navigation.goBack()}>
<View style={[theme.flexContainer, theme.paddingHorizontal4x]}>
<ScrollView contentContainerStyle={theme.paddingBottom7x}>
<MText
Expand Down
2 changes: 1 addition & 1 deletion src/onboarding/v2/steps/SetupChannelScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default withErrorBoundaryScreen(
<ModalContainer
title={i18n.t('onboarding.setupChannel')}
contentContainer={theme.alignSelfCenterMaxWidth}
onPressBack={sp.navigation.goBack}
onPressBack={() => sp.navigation.goBack()}
leftButton={
keyboard.keyboardShown ? (
<Btn type="action" mode="flat" size="small" onPress={store.save}>
Expand Down
2 changes: 1 addition & 1 deletion src/onboarding/v2/steps/SuggestedChannelsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default withErrorBoundaryScreen(
theme.bgPrimaryBackgroundHighlight,
theme.alignSelfCenterMaxWidth,
]}
onPressBack={sp.navigation.goBack}>
onPressBack={() => sp.navigation.goBack()}>
<ScrollView style={theme.flexContainer}>
{empty}
{loadingPlaceholder}
Expand Down
2 changes: 1 addition & 1 deletion src/onboarding/v2/steps/SuggestedGroupsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default withErrorBoundaryScreen(
<ModalContainer
title={i18n.t('onboarding.joinGroup')}
contentContainer={theme.alignSelfCenterMaxWidth}
onPressBack={sp.navigation.goBack}>
onPressBack={() => sp.navigation.goBack()}>
<View style={[theme.flexContainer, theme.paddingHorizontal2x]}>
<MText
style={[
Expand Down
2 changes: 1 addition & 1 deletion src/settings/screens/ResourcesScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const ResourcesScreen = ({}: PropsType) => {
<MenuItem
key={`${item.id}.${option.id}`}
// @ts-ignore
title={i18n.t(`settings.${item.id}.${option.id}`)}
title={sp.i18n.t(`settings.${item.id}.${option.id}`)}
onPress={option.onPress}
noBorderTop={i > 0}
/>
Expand Down

0 comments on commit 6d12046

Please sign in to comment.