mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: custom enable search suggestion
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -348,6 +348,9 @@ class GStorage {
|
||||
static bool get mainTabBarView =>
|
||||
GStorage.setting.get(SettingBoxKey.mainTabBarView, defaultValue: false);
|
||||
|
||||
static bool get searchSuggestion =>
|
||||
GStorage.setting.get(SettingBoxKey.searchSuggestion, defaultValue: true);
|
||||
|
||||
static List<double> get dynamicDetailRatio => List<double>.from(setting
|
||||
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
|
||||
|
||||
@@ -573,6 +576,7 @@ class SettingBoxKey {
|
||||
superResolutionType = 'superResolutionType',
|
||||
preInitPlayer = 'preInitPlayer',
|
||||
mainTabBarView = 'mainTabBarView',
|
||||
searchSuggestion = 'searchSuggestion',
|
||||
|
||||
// Sponsor Block
|
||||
enableSponsorBlock = 'enableSponsorBlock',
|
||||
|
||||
Reference in New Issue
Block a user