mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -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: () {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user