π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] always show more options if the user has not set a preference
Priyanshu Dangare52ff85001031
diff --git a/mobile/apps/photos/lib/utils/delete_file_util.dart b/mobile/apps/photos/lib/utils/delete_file_util.dartindex 63f617a510..a0ac2b1d36 100644--- a/mobile/apps/photos/lib/utils/delete_file_util.dart+++ b/mobile/apps/photos/lib/utils/delete_file_util.dart@@ -1028,6 +1028,15 @@ class DeleteConfirmationSheetState extends State<DeleteConfirmationSheet> {var _isMoreOptionsShown = false;var _isSetAsDefaultSelected = false;+ @override+ void initState() {+ super.initState();+ // Always display the more options if the user hasn't set a preference yet.+ if (localSettings.getDeletePreference() == null) {+ _isMoreOptionsShown = true;+ }+ }+Future<void> _onDelete(BuildContext context,Future<void> Function() callback,