]> git.proxmox.com Git - flutter/pve_flutter_frontend.git/commitdiff
put resource filter sheet into a SafeArea
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 13 Sep 2022 13:55:50 +0000 (15:55 +0200)
committerDominik Csapak <d.csapak@proxmox.com>
Fri, 21 Apr 2023 11:51:23 +0000 (13:51 +0200)
otherwise it can happen that the 'Reset' button is obstructed by
the top status bar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
lib/pages/main_layout_slim.dart

index ba95fe8321fe0811af48818b6ff0f25da4534bf5..dec5e55cda1e09c77eb060be012b8d57080383a1 100644 (file)
@@ -593,7 +593,8 @@ class MobileResourceOverview extends StatelessWidget {
           onTap: () {
             FocusScope.of(context).unfocus();
           },
-          child: Scaffold(
+          child: SafeArea(
+              child: Scaffold(
             endDrawer: _MobileResourceFilterSheet(),
             appBar: AppBar(
               automaticallyImplyLeading: false,
@@ -657,7 +658,7 @@ class MobileResourceOverview extends StatelessWidget {
               },
             ),
             bottomNavigationBar: PveMobileBottomNavigationbar(),
-          ),
+          )),
         );
       },
     );