π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Keep stop sharing visible
Neeraj Gupta2695c0a473d7
diff --git a/mobile/apps/photos/lib/ui/sharing/library_sharing/library_sharing_selection_sheet.dart b/mobile/apps/photos/lib/ui/sharing/library_sharing/library_sharing_selection_sheet.dartindex e56faafe99..b538f4b67f 100644--- a/mobile/apps/photos/lib/ui/sharing/library_sharing/library_sharing_selection_sheet.dart+++ b/mobile/apps/photos/lib/ui/sharing/library_sharing/library_sharing_selection_sheet.dart@@ -50,7 +50,7 @@ class LibrarySharingSelectionSheet extends StatelessWidget {isDisabled: !controller.canApply,onTap: onApply,),- if (isExpanded && controller.canStopSharing) ...[+ if (controller.canStopSharing) ...[const SizedBox(height: Spacing.md),ButtonComponent(label: LibrarySharingStrings.stopSharing,diff --git a/mobile/apps/photos/test/ui/sharing/library_sharing_page_test.dart b/mobile/apps/photos/test/ui/sharing/library_sharing_page_test.dartindex 9187408dd7..77ffee284a 100644--- a/mobile/apps/photos/test/ui/sharing/library_sharing_page_test.dart+++ b/mobile/apps/photos/test/ui/sharing/library_sharing_page_test.dart@@ -396,7 +396,7 @@ void main() {await tester.pumpAndSettle();expect(isExpanded(), isFalse);expect(find.text('Role'), findsNothing);- expect(find.text('Stop sharing'), findsNothing);+ expect(find.text('Stop sharing'), findsOneWidget);expect(find.text('Save'), findsOneWidget);await tester.drag(selectionSheet, const Offset(0, -100));