Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-22 21:13:16 +08:00
parent 55bed2e830
commit e770e39c8f
59 changed files with 1388 additions and 1265 deletions

View File

@@ -93,16 +93,18 @@ class _MediaListPanelState
backgroundColor: Colors.transparent,
actions: [
Obx(
() => mediumButton(
tooltip: desc.value ? '顺序播放' : '倒序播放',
icon: desc.value
? MdiIcons.sortAscending
: MdiIcons.sortDescending,
onPressed: () {
widget.onReverse();
desc.value = !desc.value;
},
),
() {
final desc = this.desc.value;
return mediumButton(
tooltip: desc ? '顺序播放' : '倒序播放',
icon:
desc ? MdiIcons.sortAscending : MdiIcons.sortDescending,
onPressed: () {
widget.onReverse();
this.desc.value = !desc;
},
);
},
),
mediumButton(
tooltip: '关闭',