π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge remote-tracking branch 'origin/main' into taking-streaming-oob
Prateek Sunal40e6bd9fae23
diff --cc mobile/apps/photos/lib/emergency/other_contact_page.dartindex 6ba07fdf3c,efbe7192ab..9374169374--- a/mobile/apps/photos/lib/emergency/other_contact_page.dart+++ b/mobile/apps/photos/lib/emergency/other_contact_page.dart@@@ -200,14 -201,14 +202,15 @@@ class _OtherContactPageState extends StonTap: () async {final actionResult = await showChoiceActionSheet(context,- title: S.of(context).cancelAccountRecovery,- firstButtonLabel: S.of(context).yes,- body: S.of(context).cancelAccountRecoveryBody,+ title: AppLocalizations.of(context).cancelAccountRecovery,+ firstButtonLabel: AppLocalizations.of(context).yes,+ body:+ AppLocalizations.of(context).cancelAccountRecoveryBody,isCritical: true,firstButtonOnTap: () async {- await EmergencyContactService.instance- .stopRecovery(recoverySession!);+ await EmergencyContactService.instance.stopRecovery(+ recoverySession!,+ );},);if (actionResult?.action == ButtonAction.first) {diff --cc mobile/apps/photos/lib/ui/collections/collection_action_sheet.dartindex 471849220c,7a60b5d67e..7620fb35a3--- a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart+++ b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart@@@ -278,12 -276,12 +279,12 @@@ class _CollectionActionSheetState extenisDisabled: _selectedCollections.isEmpty,onTap: () async {if (widget.selectedPeople != null) {- final ProgressDialog? dialog = createProgressDialog(+ final ProgressDialog dialog = createProgressDialog(context,- S.of(context).uploadingFilesToAlbum,+ AppLocalizations.of(context).uploadingFilesToAlbum,isDismissible: true,);- await dialog?.show();+ await dialog.show();for (final collection in _selectedCollections) {try {await smartAlbumsService.addPeopleToSmartAlbum(diff --cc mobile/apps/photos/lib/ui/settings/advanced_settings_screen.dartindex 1458badbe4,e502c06add..768e24b482--- a/mobile/apps/photos/lib/ui/settings/advanced_settings_screen.dart+++ b/mobile/apps/photos/lib/ui/settings/advanced_settings_screen.dart@@@ -112,27 -110,29 +112,27 @@@ class AdvancedSettingsScreen extends Stconst SizedBox(height: 24),MenuItemWidget(captionedTextWidget: CaptionedTextWidget(- title: S.of(context).videoStreaming,+ title: AppLocalizations.of(context).videoStreaming,),menuItemColor: colorScheme.fillFaint,+ trailingWidget: Icon(+ Icons.chevron_right_outlined,+ color: colorScheme.strokeBase,+ ),singleBorderRadius: 8,alignCaptionedTextToLeft: true,- trailingWidget: ToggleSwitchWidget(- value: () => VideoPreviewService- .instance.isVideoStreamingEnabled,- onChanged: () async {- final isEnabled = VideoPreviewService- .instance.isVideoStreamingEnabled;-- await VideoPreviewService.instance- .setIsVideoStreamingEnabled(!isEnabled);- },- ),- ),- const SizedBox(- height: 24,+ onTap: () async {+ // ignore: unawaited_futures+ routeToPage(+ context,+ const VideoStreamingSettingsPage(),+ );+ },),+ const SizedBox(height: 24),MenuItemWidget(captionedTextWidget: CaptionedTextWidget(- title: S.of(context).crashReporting,+ title: AppLocalizations.of(context).crashReporting,),menuItemColor: colorScheme.fillFaint,singleBorderRadius: 8,