🐛 Fix macos titlebar not centered
This commit is contained in:
parent
2027eab49b
commit
52d6bb083e
@ -188,6 +188,9 @@ class AppRootScaffold extends StatelessWidget {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Solar Network',
|
'Solar Network',
|
||||||
style: GoogleFonts.spaceGrotesk(),
|
style: GoogleFonts.spaceGrotesk(),
|
||||||
|
textAlign: Platform.isMacOS
|
||||||
|
? TextAlign.center
|
||||||
|
: TextAlign.start,
|
||||||
).padding(horizontal: 12, vertical: 5),
|
).padding(horizontal: 12, vertical: 5),
|
||||||
),
|
),
|
||||||
if (!Platform.isMacOS)
|
if (!Platform.isMacOS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user