Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][locker] Fix uncategorized collection footer background

aman-pilot602e1cec7d04
diff --git a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
index ab12450fc4..5d887a1350 100644
--- a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
@@ -233,14 +233,18 @@ class _AllCollectionsPageState extends State<AllCollectionsPage> {
Widget _buildUncategorizedHook() {
if (_uncategorizedCollection == null) return const SizedBox.shrink();
- return SafeArea(
- top: false,
- child: Padding(
- padding: const EdgeInsets.fromLTRB(16.0, 8.0, 16.0, 12.0),
- child: CollectionListWidget(
- collection: _uncategorizedCollection!,
- selectedCollections: _selectedCollections,
- onTapCallback: (_) => _openUncategorized(),
+ final colors = context.componentColors;
+ return ColoredBox(
+ color: colors.backgroundBase,
+ child: SafeArea(
+ top: false,
+ child: Padding(
+ padding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
+ child: CollectionListWidget(
+ collection: _uncategorizedCollection!,
+ selectedCollections: _selectedCollections,
+ onTapCallback: (_) => _openUncategorized(),
+ ),
),
),
);