Browse Source

increase tap area of close button in full screen memory

ashilkn 1 year ago
parent
commit
bd88c96b0d
1 changed files with 8 additions and 8 deletions
  1. 8 8
      lib/ui/home/memories/full_screen_memory.dart

+ 8 - 8
lib/ui/home/memories/full_screen_memory.dart

@@ -154,13 +154,13 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
         automaticallyImplyLeading: false,
         title: ValueListenableBuilder(
           valueListenable: inheritedData.indexNotifier,
-          child: Padding(
-            padding: const EdgeInsets.only(right: 16),
-            child: InkWell(
-              onTap: () {
-                Navigator.pop(context);
-              },
-              child: const Icon(
+          child: InkWell(
+            onTap: () {
+              Navigator.pop(context);
+            },
+            child: const Padding(
+              padding: EdgeInsets.fromLTRB(4, 8, 8, 8),
+              child: Icon(
                 Icons.close,
                 color: Colors.white, //same for both themes
               ),
@@ -180,7 +180,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
                       )
                     : const SizedBox.shrink(),
                 const SizedBox(
-                  height: 18,
+                  height: 10,
                 ),
                 Row(
                   children: [