Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fixed border stroke

Aman Raj Singh Mourya9b0d11963cfe
diff --git a/mobile/lib/ui/viewer/gallery/collect_photos_card_widget.dart b/mobile/lib/ui/viewer/gallery/collect_photos_card_widget.dart
index 5dff4a039c..334d16bed1 100644
--- a/mobile/lib/ui/viewer/gallery/collect_photos_card_widget.dart
+++ b/mobile/lib/ui/viewer/gallery/collect_photos_card_widget.dart
@@ -70,13 +70,11 @@ class _CollectPhotosCardWidgetState extends State<CollectPhotosCardWidget> {
children: [
Positioned(
bottom: 22,
- left: 14,
+ left: 14.5,
child: Container(
height: 125,
width: 125,
- decoration: BoxDecoration(
- borderRadius:
- const BorderRadius.only(bottomLeft: Radius.circular(12)),
+ decoration: ShapeDecoration(
gradient: LinearGradient(
colors: [
colorTheme.primary700.withOpacity(0.9),
@@ -86,6 +84,12 @@ class _CollectPhotosCardWidgetState extends State<CollectPhotosCardWidget> {
begin: Alignment.bottomLeft,
end: Alignment.topRight,
),
+ shape: SmoothRectangleBorder(
+ borderRadius: SmoothBorderRadius(
+ cornerRadius: 12.0,
+ cornerSmoothing: 1.0,
+ ),
+ ),
),
),
),