feat: modify recommend page's card width separately (#1771)

* feat: modify recommend card width setting separately
This commit is contained in:
LiPolymer
2025-12-10 10:51:16 +08:00
committed by GitHub
parent 244ef22f54
commit 15b5c0a874
5 changed files with 127 additions and 6 deletions

View File

@@ -172,6 +172,9 @@ abstract class Pref {
static double get smallCardWidth =>
_setting.get(SettingBoxKey.smallCardWidth, defaultValue: 240.0);
static double get recommendCardWidth =>
_setting.get(SettingBoxKey.recommendCardWidth, defaultValue: 240.0);
static UpPanelPosition get upPanelPosition =>
UpPanelPosition.values[_setting.get(
SettingBoxKey.upPanelPosition,