opt: reply ctr

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-20 16:23:30 +08:00
parent adab32744e
commit 71da661ce8
10 changed files with 22 additions and 27 deletions

View File

@@ -1986,7 +1986,7 @@ List<SettingsModel> get extraSettings => [
setKey: SettingBoxKey.replySortType,
leading: const Icon(Icons.whatshot_outlined),
getSubtitle: () =>
'当前优先展示「${ReplySortType.values[GStorage.defaultReplySort].titles}',
'当前优先展示「${ReplySortType.values[GStorage.defaultReplySort].title}',
onTap: (setState) async {
int? result = await showDialog(
context: Get.context!,
@@ -1995,7 +1995,7 @@ List<SettingsModel> get extraSettings => [
title: '评论展示',
value: GStorage.defaultReplySort,
values: ReplySortType.values.map((e) {
return {'title': e.titles, 'value': e.index};
return {'title': e.title, 'value': e.index};
}).toList(),
);
},