v1.4.7+68
All checks were successful
Flutter Schmutter / build (push) Successful in 3m37s

This commit is contained in:
2025-06-23 16:32:15 +02:00
parent 405d388db0
commit 0d42fad708
3 changed files with 12 additions and 7 deletions

View File

@ -359,10 +359,13 @@ class _MediaDetailScreenState extends State<MediaDetailScreen> {
}
final MediaItem currentItem =
mediaController.items[_currentIndex.value];
final bool hasSoftButtons = MediaQuery.of(context).padding.bottom > 24.0;
return DraggableScrollableSheet(
initialChildSize: 0.11,
minChildSize: 0.11,
maxChildSize: 0.245,
initialChildSize: hasSoftButtons ? 0.11 : 0.2,
minChildSize: hasSoftButtons ? 0.11 : 0.2,
maxChildSize: hasSoftButtons ? 0.245 : 0.2,
snap: true,
builder: (context, scrollController) => ListView(
controller: scrollController,