Fix home title alignment

This commit is contained in:
2024-08-23 16:19:18 +02:00
parent 714e6ef349
commit 6c3f829ac8
2 changed files with 2 additions and 1 deletions

View File

@@ -329,7 +329,7 @@ class _HomeTileGridState extends State<HomeTileGrid> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: const MIHAppBar(barTitle: "Mzansi Innovation Hub"), appBar: const MIHAppBar(barTitle: "Mzansi Innovation\nHub"),
drawer: MIHAppDrawer( drawer: MIHAppDrawer(
signedInUser: widget.signedInUser, signedInUser: widget.signedInUser,
), ),

View File

@@ -39,6 +39,7 @@ class _MIHAppBarState extends State<MIHAppBar> {
], ],
title: Text( title: Text(
widget.barTitle, widget.barTitle,
textAlign: TextAlign.center,
), ),
centerTitle: true, centerTitle: true,
); );