diff --git a/mobile/lib/modules/backup/services/backup.service.dart b/mobile/lib/modules/backup/services/backup.service.dart index d6d5745d16..8f4daff59b 100644 --- a/mobile/lib/modules/backup/services/backup.service.dart +++ b/mobile/lib/modules/backup/services/backup.service.dart @@ -196,8 +196,7 @@ class BackupService { } if (file != null) { - String originalFileName = - entity.title != null ? entity.title! : await entity.titleAsync; + String originalFileName = await entity.titleAsync; String fileNameWithoutPath = originalFileName.toString().split(".")[0]; var fileExtension = p.extension(file.path); diff --git a/mobile/lib/modules/backup/ui/album_info_card.dart b/mobile/lib/modules/backup/ui/album_info_card.dart index 271bf295b5..9350206fb4 100644 --- a/mobile/lib/modules/backup/ui/album_info_card.dart +++ b/mobile/lib/modules/backup/ui/album_info_card.dart @@ -123,7 +123,7 @@ class AlbumInfoCard extends HookConsumerWidget { return; } - if (albumInfo.id == 'isAll') { + if (albumInfo.id == 'isAll' || albumInfo.name == 'Recents') { ImmichToast.show( context: context, msg: 'Cannot exclude album contains all assets',