Skip to content

armgit / ente

Public Imported from GitHub
0

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

increase tap area of bottom sheet on it's top for making it easier to slide it down

ashilkn111c8885ce71
diff --git a/lib/ui/viewer/actions/file_selection_actions_widget.dart b/lib/ui/viewer/actions/file_selection_actions_widget.dart
index c427741ad7..589bc325a6 100644
--- a/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -329,6 +329,27 @@ class _FileSelectionActionsWidgetState
),
backgroundColor: getEnteColorScheme(context).backgroundElevated,
barrierColor: backdropFaintDark,
+ topControl: Stack(
+ alignment: Alignment.bottomCenter,
+ children: [
+ // This container is for increasing the tap area
+ Container(
+ width: double.infinity,
+ height: 36,
+ color: Colors.transparent,
+ ),
+ Container(
+ height: 5,
+ width: 40,
+ decoration: const BoxDecoration(
+ color: backgroundElevated2Light,
+ borderRadius: BorderRadius.all(
+ Radius.circular(5),
+ ),
+ ),
+ ),
+ ],
+ ),
context: context,
builder: (context) {
return UpdateLocationDataWidget(