Skip to content

Commit

Permalink
chore: Hide remove sss button (#2219)
Browse files Browse the repository at this point in the history
* chore: Hide remove sss button

* chore: isFeature enabled
  • Loading branch information
devkudasov committed Dec 5, 2024
1 parent 88bbdcf commit f1b56be
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/components/settings/settings-security/settings-security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,17 @@ export const SettingsSecurity = ({
</First>
</View>
)}
<MenuNavigationButton onPress={onSssRemove}>
<DataContent
titleI18n={I18N.deleteSssTitle}
titleColor={Color.textRed1}
subtitleI18n={I18N.deleteSssDescription}
/>
</MenuNavigationButton>
{/* FIXME: Enable this option into next releases when shares migration will be fixed */}
{isFeatureEnabled(Feature.removeSss) && (
<MenuNavigationButton onPress={onSssRemove}>
<DataContent
titleI18n={I18N.deleteSssTitle}
titleColor={Color.textRed1}
subtitleI18n={I18N.deleteSssDescription}
subtitleI18nParams={{walletType: 'Google'}}
/>
</MenuNavigationButton>
)}
<Spacer />
</View>
);
Expand Down

0 comments on commit f1b56be

Please sign in to comment.