Browse Source

Move bottom sheet along with keyboard

ashilkn 2 năm trước cách đây
mục cha
commit
b8c68c2eb4
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      lib/ui/viewer/file/fading_bottom_bar.dart

+ 5 - 1
lib/ui/viewer/file/fading_bottom_bar.dart

@@ -253,7 +253,11 @@ class FadingBottomBarState extends State<FadingBottomBar> {
       barrierColor: backdropFaintDark,
       context: context,
       builder: (BuildContext context) {
-        return FileInfoWidget(file);
+        return Padding(
+          padding:
+              EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom),
+          child: FileInfoWidget(file),
+        );
       },
     );
   }