mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
tweak (#1325)
* 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:
committed by
GitHub
parent
67c25bd130
commit
4ae3bd2845
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user