Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Chore

ashilkn3816ea42ab6f
diff --git a/mobile/lib/services/collections_service.dart b/mobile/lib/services/collections_service.dart
index 8079c925f6..7c5de3985b 100644
--- a/mobile/lib/services/collections_service.dart
+++ b/mobile/lib/services/collections_service.dart
@@ -950,7 +950,6 @@ class CollectionsService {
"collectionID": collection.id,
"enableCollect": enableCollect,
"enableJoin": true,
- // todo: remove after server deployment
},
);
collection.publicURLs?.add(PublicURL.fromMap(response.data["result"]));
diff --git a/mobile/lib/ui/components/end_to_end_banner.dart b/mobile/lib/ui/components/end_to_end_banner.dart
index a985fe8e63..5f9b488c8a 100644
--- a/mobile/lib/ui/components/end_to_end_banner.dart
+++ b/mobile/lib/ui/components/end_to_end_banner.dart
@@ -26,7 +26,7 @@ class EndToEndBanner extends StatelessWidget {
onTap: onTap,
child: Container(
color: colorScheme.fillFaint,
- padding: const EdgeInsets.fromLTRB(16, 8, 0, 8),
+ padding: EdgeInsets.fromLTRB(16, 8, trailingWidget != null ? 16 : 0, 8),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
diff --git a/mobile/lib/ui/tabs/shared/contacts_all_page.dart b/mobile/lib/ui/tabs/shared/contacts_all_page.dart
index 4b1834e44c..1e978a57ec 100644
--- a/mobile/lib/ui/tabs/shared/contacts_all_page.dart
+++ b/mobile/lib/ui/tabs/shared/contacts_all_page.dart
@@ -23,7 +23,6 @@ class ContactsSectionAllPage extends StatefulWidget {
class _ContactsSectionAllPageState extends State<ContactsSectionAllPage> {
late Future<List<SearchResult>> resutls;
- final streamSubscriptions = <StreamSubscription>[];
@override
void initState() {
@@ -31,14 +30,6 @@ class _ContactsSectionAllPageState extends State<ContactsSectionAllPage> {
resutls = SearchService.instance.getAllContactsSearchResults(null);
}
- @override
- void dispose() {
- for (var subscriptions in streamSubscriptions) {
- subscriptions.cancel();
- }
- super.dispose();
- }
-
@override
Widget build(BuildContext context) {
return Scaffold(
diff --git a/mobile/lib/ui/viewer/people/save_or_edit_person.dart b/mobile/lib/ui/viewer/people/save_or_edit_person.dart
index 10e9d3b62d..dcd499ea2d 100644
--- a/mobile/lib/ui/viewer/people/save_or_edit_person.dart
+++ b/mobile/lib/ui/viewer/people/save_or_edit_person.dart
@@ -903,7 +903,7 @@ class _EmailSectionState extends State<_EmailSection> {
),
),
).animate().fadeIn(
- duration: const Duration(milliseconds: 150),
+ duration: const Duration(milliseconds: 200),
curve: Curves.easeInOutQuad,
),
),
@@ -940,7 +940,7 @@ class _EmailSectionState extends State<_EmailSection> {
),
),
).animate().fadeIn(
- duration: const Duration(milliseconds: 150),
+ duration: const Duration(milliseconds: 200),
curve: Curves.easeInOutQuad,
);
}