π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Lint suggestions
Neeraj Gupta483cfd1f3913
diff --git a/mobile/lib/ui/cast/auto.dart b/mobile/lib/ui/cast/auto.dartindex 64bae7cf3b..0b088a9d2d 100644--- a/mobile/lib/ui/cast/auto.dart+++ b/mobile/lib/ui/cast/auto.dart@@ -56,7 +56,7 @@ class _AutoCastDialogState extends State<AutoCastDialog> {}if (snapshot.data!.isEmpty) {- return const Center(child: Text(S.of(context).noDeviceFound));+ return Center(child: Text(S.of(context).noDeviceFound));}return Column(diff --git a/mobile/lib/ui/cast/choose.dart b/mobile/lib/ui/cast/choose.dartindex f3ab39a628..1cfd275c89 100644--- a/mobile/lib/ui/cast/choose.dart+++ b/mobile/lib/ui/cast/choose.dart@@ -6,9 +6,9 @@ import "package:photos/ui/components/buttons/button_widget.dart";import "package:photos/ui/components/models/button_type.dart";class CastChooseDialog extends StatefulWidget {- CastChooseDialog({+ const CastChooseDialog({Key? key,- }) : super(key: key) {}+ }) : super(key: key);@overrideState<CastChooseDialog> createState() => _CastChooseDialogState();diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dartindex 9e53014ed9..d7b1b01907 100644--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart@@ -861,7 +861,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {context: context,barrierDismissible: true,builder: (BuildContext context) {- return CastChooseDialog();+ return const CastChooseDialog();},);_logger.info("Cast result: $result");