mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-23 18:24:30 +01:00
opt.: routes
This commit is contained in:
@@ -35,7 +35,7 @@ final class _AppBar extends StatelessWidget implements PreferredSizeWidget {
|
||||
@override
|
||||
Size get preferredSize {
|
||||
final height = switch (Pfs.type) {
|
||||
Pfs.macos => paddingTop + (CustomAppBar.sysStatusBarHeight ?? 0),
|
||||
Pfs.macos => paddingTop + CustomAppBar.sysStatusBarHeight,
|
||||
_ => paddingTop,
|
||||
};
|
||||
return Size.fromHeight(height);
|
||||
|
||||
Reference in New Issue
Block a user