File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
frontend/appflowy_flutter/lib/startup/tasks Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'package:appflowy/startup/startup.dart';
77
88class WindowSizeManager {
99 static const double minWindowHeight = 640.0 ;
10- static const double minWindowWidth = 960 .0 ;
10+ static const double minWindowWidth = 640 .0 ;
1111 // Preventing failed assertion due to Texture Descriptor Validation
1212 static const double maxWindowHeight = 8192.0 ;
1313 static const double maxWindowWidth = 8192.0 ;
@@ -35,7 +35,10 @@ class WindowSizeManager {
3535
3636 Future <Size > getSize () async {
3737 final defaultWindowSize = jsonEncode (
38- {WindowSizeManager .height: minWindowHeight, WindowSizeManager .width: minWindowWidth},
38+ {
39+ WindowSizeManager .height: minWindowHeight,
40+ WindowSizeManager .width: minWindowWidth,
41+ },
3942 );
4043 final windowSize = await getIt <KeyValueStorage >().get (KVKeys .windowSize);
4144 final size = json.decode (
You can’t perform that action at this time.
0 commit comments