mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
Add configurable scroll threshold (#910)
* Add configurable scroll threshold * update --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -502,9 +502,6 @@ class Pref {
|
||||
static bool get recordSearchHistory =>
|
||||
_setting.get(SettingBoxKey.recordSearchHistory, defaultValue: true);
|
||||
|
||||
static bool get navSearchStreamDebounce =>
|
||||
_setting.get(SettingBoxKey.navSearchStreamDebounce, defaultValue: false);
|
||||
|
||||
static String get webdavUri =>
|
||||
_setting.get(SettingBoxKey.webdavUri, defaultValue: '');
|
||||
|
||||
@@ -607,6 +604,12 @@ class Pref {
|
||||
static bool get hideSearchBar =>
|
||||
_setting.get(SettingBoxKey.hideSearchBar, defaultValue: true);
|
||||
|
||||
static bool get enableScrollThreshold =>
|
||||
_setting.get(SettingBoxKey.enableScrollThreshold, defaultValue: true);
|
||||
|
||||
static double get scrollThreshold =>
|
||||
_setting.get(SettingBoxKey.scrollThreshold, defaultValue: 50.0);
|
||||
|
||||
static bool get enableSearchWord =>
|
||||
_setting.get(SettingBoxKey.enableSearchWord, defaultValue: true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user