Skip to content

armgit / ente

Public Imported from GitHub
0

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

Minor fix

AmanRajSinghMourya6d5a2a956f58
diff --git a/mobile/lib/ui/viewer/search_tab/albums_section.dart b/mobile/lib/ui/viewer/search_tab/albums_section.dart
index 9b1f801a53..ffd4f7bbe7 100644
--- a/mobile/lib/ui/viewer/search_tab/albums_section.dart
+++ b/mobile/lib/ui/viewer/search_tab/albums_section.dart
@@ -169,7 +169,9 @@ class AlbumRecommendation extends StatelessWidget {
shouldShowSyncStatus: false,
),
)
- : const NoThumbnailWidget(),
+ : const NoThumbnailWidget(
+ borderRadius: 8,
+ ),
),
),
const SizedBox(height: 6),
@@ -228,23 +230,25 @@ class AlbumCTA extends StatelessWidget {
children: [
ClipRRect(
borderRadius: BorderRadius.circular(8),
- child: DottedBorder(
- borderType: BorderType.RRect,
- strokeWidth: 1.5,
- borderPadding: const EdgeInsets.all(0.75),
- dashPattern: const [3.75, 3.75],
- radius: const Radius.circular(8),
- padding: EdgeInsets.zero,
- color: enteColorScheme.strokeFaint,
- child: Container(
- color: Theme.of(context).brightness == Brightness.light
- ? enteColorScheme.backdropBase
- : enteColorScheme.backdropFaint,
- height: 100,
- width: 100,
- child: Icon(
- Icons.add,
- color: enteColorScheme.strokeFaint,
+ child: Container(
+ color: Theme.of(context).brightness == Brightness.light
+ ? enteColorScheme.backdropBase
+ : enteColorScheme.backdropFaint,
+ height: 100,
+ width: 100,
+ child: DottedBorder(
+ borderType: BorderType.RRect,
+ strokeWidth: 1.5,
+ borderPadding: const EdgeInsets.all(0.75),
+ dashPattern: const [3.75, 3.75],
+ radius: const Radius.circular(8),
+ padding: EdgeInsets.zero,
+ color: enteColorScheme.strokeFaint,
+ child: Center(
+ child: Icon(
+ Icons.add,
+ color: enteColorScheme.strokeFaint,
+ ),
),
),
),