mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
commit
3c6cd7deba
1 changed files with 5 additions and 6 deletions
|
@ -92,7 +92,7 @@ const SettingsPrivacy: React.FC = () => {
|
|||
|
||||
const onTemporaryScreenshotsValueChange = (value: boolean) => {
|
||||
setIsLoading(SettingsPrivacySection.TemporaryScreenshots);
|
||||
setIsPrivacyBlurEnabledState(value);
|
||||
setIsPrivacyBlurEnabledState(!value);
|
||||
setIsLoading(SettingsPrivacySection.None);
|
||||
};
|
||||
|
||||
|
@ -145,17 +145,13 @@ const SettingsPrivacy: React.FC = () => {
|
|||
Component={TouchableWithoutFeedback}
|
||||
switch={{
|
||||
onValueChange: onTemporaryScreenshotsValueChange,
|
||||
value: isPrivacyBlurEnabled,
|
||||
value: !isPrivacyBlurEnabled,
|
||||
disabled: isLoading === SettingsPrivacySection.All,
|
||||
}}
|
||||
/>
|
||||
<BlueCard>
|
||||
<BlueText>{loc.settings.privacy_temporary_screenshots_instructions}</BlueText>
|
||||
</BlueCard>
|
||||
|
||||
<BlueSpacing20 />
|
||||
<ListItem title={loc.settings.privacy_system_settings} chevron onPress={openApplicationSettings} testID="PrivacySystemSettings" />
|
||||
<BlueSpacing20 />
|
||||
<ListItem
|
||||
title={loc.settings.privacy_do_not_track}
|
||||
Component={TouchableWithoutFeedback}
|
||||
|
@ -186,6 +182,9 @@ const SettingsPrivacy: React.FC = () => {
|
|||
</BlueCard>
|
||||
</>
|
||||
)}
|
||||
|
||||
<BlueSpacing20 />
|
||||
<ListItem title={loc.settings.privacy_system_settings} chevron onPress={openApplicationSettings} testID="PrivacySystemSettings" />
|
||||
<BlueSpacing20 />
|
||||
</ScrollView>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue