Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-30 12:47:27 +08:00
parent 3eb9c5b8ba
commit a57323e5a8
2 changed files with 2 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ List<SettingsModel> get styleSettings => [
title: '顶/底栏滚动阈值',
subtitle: '滚动多少像素后收起/展开顶底栏默认50像素',
leading: const Icon(Icons.swipe_vertical),
defaultVal: true,
defaultVal: false,
setKey: SettingBoxKey.enableScrollThreshold,
needReboot: true,
onTap: () {

View File

@@ -605,7 +605,7 @@ class Pref {
_setting.get(SettingBoxKey.hideSearchBar, defaultValue: true);
static bool get enableScrollThreshold =>
_setting.get(SettingBoxKey.enableScrollThreshold, defaultValue: true);
_setting.get(SettingBoxKey.enableScrollThreshold, defaultValue: false);
static double get scrollThreshold =>
_setting.get(SettingBoxKey.scrollThreshold, defaultValue: 50.0);