Skip to content

Commit

Permalink
fix: 媒体库无法滑动
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Mar 20, 2024
1 parent 710361c commit 6d276fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/pages/media/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:get/get.dart';
import 'package:media_kit/media_kit.dart';
import 'package:pilipala/common/widgets/network_img_layer.dart';
import 'package:pilipala/models/user/fav_folder.dart';
import 'package:pilipala/pages/main/index.dart';
Expand Down Expand Up @@ -102,7 +103,11 @@ class _MediaPageState extends State<MediaPage>
],
Obx(() => mediaController.userLogin.value
? favFolder(mediaController, context)
: const SizedBox())
: const SizedBox()),
SizedBox(
height: MediaQuery.of(context).padding.bottom +
kBottomNavigationBarHeight,
)
],
),
),
Expand Down

0 comments on commit 6d276fc

Please sign in to comment.