Skip to content

armgit / ente

Public Imported from GitHub
0

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

update bottom sheet

AmanRajSinghMourya64618308d150
diff --git a/mobile/apps/photos/lib/ui/components/alert_bottom_sheet.dart b/mobile/apps/photos/lib/ui/components/alert_bottom_sheet.dart
index 1488cdca4d..15178e1c9e 100644
--- a/mobile/apps/photos/lib/ui/components/alert_bottom_sheet.dart
+++ b/mobile/apps/photos/lib/ui/components/alert_bottom_sheet.dart
@@ -17,7 +17,6 @@ Future<T?> showAlertBottomSheet<T>(
isScrollControlled: true,
isDismissible: isDismissible,
enableDrag: isDismissible,
- backgroundColor: Colors.transparent,
builder: (context) => AlertBottomSheet<T>(
title: title,
message: message,
@@ -54,7 +53,7 @@ class AlertBottomSheet<T> extends StatelessWidget {
return Container(
decoration: BoxDecoration(
- color: colorScheme.backgroundElevated2,
+ color: colorScheme.fill,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(20),
topRight: Radius.circular(20),
diff --git a/mobile/apps/photos/lib/ui/components/base_bottom_sheet.dart b/mobile/apps/photos/lib/ui/components/base_bottom_sheet.dart
index 59b422c494..f99d7a0fca 100644
--- a/mobile/apps/photos/lib/ui/components/base_bottom_sheet.dart
+++ b/mobile/apps/photos/lib/ui/components/base_bottom_sheet.dart
@@ -19,7 +19,6 @@ Future<T?> showBaseBottomSheet<T>(
return showModalBottomSheet<T>(
context: context,
isScrollControlled: true,
- backgroundColor: Colors.transparent,
isDismissible: isDismissible,
enableDrag: enableDrag,
builder: (context) => BaseBottomSheet(
@@ -69,7 +68,7 @@ class BaseBottomSheet extends StatelessWidget {
return Container(
decoration: BoxDecoration(
- color: backgroundColor ?? colorScheme.backgroundElevated2,
+ color: backgroundColor ?? colorScheme.fill,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(20),
topRight: Radius.circular(20),
@@ -121,7 +120,7 @@ class BottomSheetCloseButton extends StatelessWidget {
padding: const EdgeInsets.all(8),
decoration: BoxDecoration(
shape: BoxShape.circle,
- color: colorScheme.fillFaint,
+ color: colorScheme.fillDark,
),
child: HugeIcon(
icon: HugeIcons.strokeRoundedCancel01,