improve ui

This commit is contained in:
2024-11-05 15:27:46 +08:00
parent b49e528ff4
commit adb6cdd0c1
6 changed files with 39 additions and 11 deletions

View File

@@ -1574,7 +1574,7 @@ class _SelectDownloadChapterState extends State<_SelectDownloadChapter> {
const SizedBox(width: 16),
Expanded(
child: FilledButton(
onPressed: () {
onPressed: selected.isEmpty ? null : () {
widget.finishSelect(selected);
context.pop();
},
@@ -1585,7 +1585,7 @@ class _SelectDownloadChapterState extends State<_SelectDownloadChapter> {
],
),
),
SizedBox(height: MediaQuery.of(context).padding.bottom + 4),
SizedBox(height: MediaQuery.of(context).padding.bottom),
],
),
);