mod: 移除评论按【最多回复】排序 issues #298

This commit is contained in:
guozhigq
2024-02-05 23:41:40 +08:00
parent ae14653e72
commit 78ade4a193
5 changed files with 16 additions and 13 deletions

View File

@ -31,6 +31,10 @@ class _ExtraSettingState extends State<ExtraSetting> {
// 默认优先显示最新评论
defaultReplySort =
setting.get(SettingBoxKey.replySortType, defaultValue: 0);
if (defaultReplySort == 2) {
setting.put(SettingBoxKey.replySortType, 0);
defaultReplySort = 0;
}
// 优先展示全部动态 all
defaultDynamicType =
setting.get(SettingBoxKey.defaultDynamicType, defaultValue: 0);