* tweak

* opt: async

* tweak

* opt: PopularSeries tile

* tweak

* opt: sc

* mod: more account type

* tweak

* opt: qrcode

* tweak

* partial revert: opt: sc

* fix

* fix

* mod: window enqueue
This commit is contained in:
My-Responsitories
2025-09-26 00:02:55 +08:00
committed by GitHub
parent 67c25bd130
commit 4ae3bd2845
29 changed files with 520 additions and 554 deletions

View File

@@ -819,10 +819,10 @@ abstract class Pref {
static bool get minimizeOnExit =>
_setting.get(SettingBoxKey.minimizeOnExit, defaultValue: true);
static List<double> get windowSize => _setting.get(
SettingBoxKey.windowSize,
defaultValue: const [1180.0, 720.0],
);
static Size get windowSize {
final List<double>? size = _setting.get(SettingBoxKey.windowSize);
return size == null ? const Size(1180.0, 720.0) : Size(size[0], size[1]);
}
static List<double>? get windowPosition =>
_setting.get(SettingBoxKey.windowPosition);