custom angle degree on android

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-18 14:50:53 +08:00
parent 4acb4d4879
commit 411fc35b03
5 changed files with 42 additions and 3 deletions

View File

@@ -52,7 +52,8 @@ abstract final class SettingBoxKey {
followOrderType = 'followOrderType',
enableImgMenu = 'enableImgMenu',
touchSlopH = 'touchSlopH',
floatingNavBar = 'floatingNavBar';
floatingNavBar = 'floatingNavBar',
angleDegrees = 'angleDegrees';
static const String windowSize = 'windowSize',
windowPosition = 'windowPosition',

View File

@@ -518,4 +518,7 @@ abstract final class Pref {
static bool get floatingNavBar =>
_setting.get(SettingBoxKey.floatingNavBar, defaultValue: false);
static int get angleDegrees =>
_setting.get(SettingBoxKey.angleDegrees, defaultValue: 30);
}