feat: 增加设置项

This commit is contained in:
guozhigq
2023-09-03 13:22:20 +08:00
parent ff47aff7cf
commit b9b1ac7ec5
5 changed files with 21 additions and 2 deletions

View File

@ -27,7 +27,9 @@ class SSearchController extends GetxController {
@override
void onInit() {
super.onInit();
searchDefault();
if (setting.get(SettingBoxKey.enableSearchWord, defaultValue: true)) {
searchDefault();
}
// 其他页面跳转过来
if (Get.parameters.keys.isNotEmpty) {
if (Get.parameters['keyword'] != null) {