Browse Source

pref: minor improvement (#1550)

Ashil 1 year ago
parent
commit
f11f34c37f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/ui/home/home_gallery_widget.dart

+ 1 - 1
lib/ui/home/home_gallery_widget.dart

@@ -28,7 +28,7 @@ class HomeGalleryWidget extends StatelessWidget {
 
   @override
   Widget build(BuildContext context) {
-    final double bottomSafeArea = MediaQuery.of(context).padding.bottom;
+    final double bottomSafeArea = MediaQuery.paddingOf(context).bottom;
     final gallery = Gallery(
       asyncLoader: (creationStartTime, creationEndTime, {limit, asc}) async {
         final ownerID = Configuration.instance.getUserID();