mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -60,7 +60,7 @@ List<SettingsModel> get privacySettings => [
|
||||
Widget _getAccountDetail(BuildContext context) {
|
||||
final slivers = <Widget>[];
|
||||
final theme = TextTheme.of(context);
|
||||
for (var i in AccountType.values) {
|
||||
for (final i in AccountType.values) {
|
||||
final url = ApiType.apiTypeSet[i];
|
||||
if (url == null) continue;
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ List<SettingsModel> get styleSettings => [
|
||||
return MultiSelectDialog<MsgUnReadType>(
|
||||
title: '消息未读类型',
|
||||
initValues: Pref.msgUnReadTypeV2,
|
||||
values: {for (var i in MsgUnReadType.values) i: i.title},
|
||||
values: {for (final i in MsgUnReadType.values) i: i.title},
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
@@ -376,7 +376,7 @@ List<SettingsModel> get videoSettings => [
|
||||
title: '硬解模式',
|
||||
initValues: Pref.hardwareDecoding.split(','),
|
||||
values: {
|
||||
for (var e in HwDecType.values) e.hwdec: '${e.hwdec}\n${e.desc}',
|
||||
for (final e in HwDecType.values) e.hwdec: '${e.hwdec}\n${e.desc}',
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user