mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-23 01:28:40 +00:00
opt: select dialog & feat: select subtitle if muted (#564)
* opt: select dialog * opt: subtitle * feat: select subtitle if muted
This commit is contained in:
committed by
GitHub
parent
2ddfea5cf3
commit
82f9f48a8e
@@ -61,9 +61,9 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
|
||||
return SelectDialog<ThemeType>(
|
||||
title: '主题模式',
|
||||
value: ctr.themeType.value,
|
||||
values: ThemeType.values.map((e) {
|
||||
return {'title': e.description, 'value': e};
|
||||
}).toList());
|
||||
values: ThemeType.values
|
||||
.map((e) => (e, e.description))
|
||||
.toList());
|
||||
},
|
||||
);
|
||||
if (result != null) {
|
||||
|
||||
Reference in New Issue
Block a user