Skip to content

armgit / ente

Public Imported from GitHub
0

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

Keep CollectionSelectionWidget down when keyboard is up in personal note page

ashilkn99e9121d7211
diff --git a/mobile/apps/locker/lib/ui/components/recents_section_widget.dart b/mobile/apps/locker/lib/ui/components/recents_section_widget.dart
index 5a5aff7135..6c5a53097e 100644
--- a/mobile/apps/locker/lib/ui/components/recents_section_widget.dart
+++ b/mobile/apps/locker/lib/ui/components/recents_section_widget.dart
@@ -413,7 +413,6 @@ class _RecentsSectionWidgetState extends State<RecentsSectionWidget> {
}
return name;
}
-
}
class _FilterChipViewModel {
diff --git a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart b/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
index 013899eb6c..67e1bcbddf 100644
--- a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
@@ -139,11 +139,11 @@ class _PersonalNotePageState
BuildContext context,
BoxConstraints constraints,
) {
- return Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Expanded(
- child: Padding(
+ return SingleChildScrollView(
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Padding(
padding: const EdgeInsets.symmetric(vertical: 20),
child: _buildEditorSurface(
context,
@@ -151,17 +151,17 @@ class _PersonalNotePageState
isEditing: true,
),
),
- ),
- SizedBox(height: collectionSpacing),
- CollectionSelectionWidget(
- collections: availableCollections,
- selectedCollectionIds: selectedCollectionIds,
- onToggleCollection: toggleCollectionSelection,
- onCollectionsUpdated: updateAvailableCollections,
- titleWidget:
- showCollectionSelectionTitle ? null : const SizedBox.shrink(),
- ),
- ],
+ SizedBox(height: collectionSpacing),
+ CollectionSelectionWidget(
+ collections: availableCollections,
+ selectedCollectionIds: selectedCollectionIds,
+ onToggleCollection: toggleCollectionSelection,
+ onCollectionsUpdated: updateAvailableCollections,
+ titleWidget:
+ showCollectionSelectionTitle ? null : const SizedBox.shrink(),
+ ),
+ ],
+ ),
);
}