mod: 采用更准确的配置描述

This commit is contained in:
orz12
2024-06-02 12:24:23 +08:00
parent e8ce061c8b
commit 3dd4fef45a
4 changed files with 12 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ class Grid {
// if (screenWidthOffset != null) {
// screenWidth -= screenWidthOffset;
// }
// if (GStrorage.setting.get(SettingBoxKey.adaptiveNavBar, defaultValue: false) as bool) {
// if (GStrorage.setting.get(SettingBoxKey.useSideBar, defaultValue: false) as bool) {
// screenWidth -= 55;
// }
// int columnCount = ((screenWidth - crossAxisSpacing) / (maxCrossAxisExtent + crossAxisSpacing)).ceil();

View File

@@ -180,10 +180,10 @@ class SettingBoxKey {
enableSingleRow = 'enableSingleRow', // 首页单列
displayMode = 'displayMode',
maxRowWidth = 'maxRowWidth', // 首页列最大宽度dp
videoPlayerRemoveSafeArea = 'videoPlayerHideStatusBar',
videoPlayerRemoveSafeArea = 'videoPlayerRemoveSafeArea', // 视频播放器移除安全边距
dynamicsWaterfallFlow = 'dynamicsWaterfallFlow', // 动态瀑布流
upPanelPosition = 'upPanelPosition', // up主面板位置
adaptiveNavBar = 'adaptiveNavBar',
useSideBar = 'useSideBar',
enableMYBar = 'enableMYBar',
hideSearchBar = 'hideSearchBar', // 收起顶栏
hideTabBar = 'hideTabBar', // 收起底栏