Skip to content

Commit

Permalink
fix: Suggest to go to photos tab instead of albums tab in iOS after a…
Browse files Browse the repository at this point in the history
… backup

On iOS, a button was sending you to the albums tab after a backup. But if you had no album, which is possible, you saw nothing. So it is more safe to send to the photos tab (default tab).
  • Loading branch information
zatteo committed Dec 5, 2023
1 parent 5a671ae commit fd4de47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/photos/ducks/backup/components/OpenBackupButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ const OpenBackupButton = () => {
return (
<Button
component={Link}
to="/albums"
to="/"
className="u-mt-half"
label={t('Backup.actions.seeMyAlbums')}
label={t('Backup.actions.viewMyPhotos')}
variant="secondary"
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/photos/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"startBackup": "Backup",
"backupInProgress": "Backup in progress %{alreadyBackupedCount} / %{totalCount}",
"openInDrive": "Open in Drive",
"seeMyAlbums": "See my albums",
"viewMyPhotos": "View my saved photos",
"saved": "Saved",
"cancel": "Stop"
},
Expand Down

0 comments on commit fd4de47

Please sign in to comment.