瀏覽代碼

pref: minor improvement (#1550)

Ashil 1 年之前
父節點
當前提交
f11f34c37f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
   @override
   Widget build(BuildContext context) {
   Widget build(BuildContext context) {
-    final double bottomSafeArea = MediaQuery.of(context).padding.bottom;
+    final double bottomSafeArea = MediaQuery.paddingOf(context).bottom;
     final gallery = Gallery(
     final gallery = Gallery(
       asyncLoader: (creationStartTime, creationEndTime, {limit, asc}) async {
       asyncLoader: (creationStartTime, creationEndTime, {limit, asc}) async {
         final ownerID = Configuration.instance.getUserID();
         final ownerID = Configuration.instance.getUserID();