opt.: routes

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-04-10 15:28:47 +08:00
parent 391e4f6b65
commit 6e7fee20b8
15 changed files with 48 additions and 56 deletions

View File

@@ -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);