feat: record search history option

Closes #592

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-04 12:00:03 +08:00
parent 849329b66b
commit 8c259205f5
5 changed files with 72 additions and 8 deletions

View File

@@ -1974,6 +1974,13 @@ List<SettingsModel> get extraSettings => [
setKey: SettingBoxKey.searchSuggestion,
defaultVal: true,
),
SettingsModel(
settingsType: SettingsType.sw1tch,
title: '记录搜索历史',
leading: const Icon(Icons.history),
setKey: SettingBoxKey.recordSearchHistory,
defaultVal: true,
),
SettingsModel(
settingsType: SettingsType.sw1tch,
title: '展示头像/评论/动态装饰',