From f11f34c37f5630929591b1ad04cf0cc51ef52335 Mon Sep 17 00:00:00 2001 From: Ashil <77285023+ashilkn@users.noreply.github.com> Date: Thu, 30 Nov 2023 19:41:10 +0530 Subject: [PATCH] pref: minor improvement (#1550) --- lib/ui/home/home_gallery_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/home/home_gallery_widget.dart b/lib/ui/home/home_gallery_widget.dart index 47f6c2ff1..53a0651fc 100644 --- a/lib/ui/home/home_gallery_widget.dart +++ b/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();