Skip to content

Commit

Permalink
fix(wallet): Fix Backup Modal
Browse files Browse the repository at this point in the history
Swaps backup modal button to toggle to prevent getting hard-locked.
Addresses #1927
  • Loading branch information
coreyphillips committed Jun 3, 2024
1 parent 54e58a4 commit 6d1cfbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/Settings/BackupSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { lightningBackupSelector } from '../../../store/reselect/lightning';
import { forceBackup } from '../../../store/slices/backup';
import { TBackupItem } from '../../../store/types/backup';
import { EBackupCategories } from '../../../store/utils/backup';
import { showBottomSheet } from '../../../store/utils/ui';
import { toggleBottomSheet } from '../../../store/utils/ui';
import {
ScrollView,
View as ThemedView,
Expand Down Expand Up @@ -217,7 +217,7 @@ const BackupSettings = ({
type: EItemType.button,
testID: 'BackupWallet',
onPress: (): void => {
showBottomSheet('backupNavigation');
toggleBottomSheet('backupNavigation');
},
},
{
Expand Down

0 comments on commit 6d1cfbd

Please sign in to comment.