From 131ebfb8ce5d076df81f22c296a3415ccdcf9964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Sat, 10 Feb 2024 15:22:30 +0100 Subject: [PATCH] fix: center text on setup --- CHANGELOG.md | 1 + lib/views/setup.dart | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 202b4d3..f02ea1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Graphs now display correct tooltips when displaying only income or only expenses - Change graph container style when using light mode - Make pie chart values more visible by adding the category's corresponding color as background +- Welcome text on Setup view is now centered # 1.0.0-alpha+5 - Add tests - Add searching through entries to homepage diff --git a/lib/views/setup.dart b/lib/views/setup.dart index 155b91e..dee951a 100644 --- a/lib/views/setup.dart +++ b/lib/views/setup.dart @@ -195,15 +195,17 @@ class _SetupViewState extends State { Flexible( child: Text( AppLocalizations.of(context).welcomeAboutPrasule, + textAlign: TextAlign.center, ), ), if (!widget.newWallet) const SizedBox( - height: 5, + height: 8, ), Flexible( child: Text( AppLocalizations.of(context).welcomeInstruction, + textAlign: TextAlign.center, ), ), ],