disable search default by def

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-24 20:20:54 +08:00
parent 1a9c8a62f2
commit 4eaf16f500
3 changed files with 3 additions and 3 deletions

View File

@@ -774,7 +774,7 @@ List<SettingsModel> get extraSettings => [
subtitle: '是否展示搜索框默认词',
leading: const Icon(Icons.whatshot_outlined),
setKey: SettingBoxKey.enableSearchWord,
defaultVal: true,
defaultVal: false,
onChanged: (val) {
try {
final controller = Get.find<HomeController>()..enableSearchWord = val;