fix: center text on setup

This commit is contained in:
Matyáš Caras 2024-02-10 15:22:30 +01:00
parent ba3b4e556b
commit 131ebfb8ce
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@
- Graphs now display correct tooltips when displaying only income or only expenses - Graphs now display correct tooltips when displaying only income or only expenses
- Change graph container style when using light mode - Change graph container style when using light mode
- Make pie chart values more visible by adding the category's corresponding color as background - 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 # 1.0.0-alpha+5
- Add tests - Add tests
- Add searching through entries to homepage - Add searching through entries to homepage

View file

@ -195,15 +195,17 @@ class _SetupViewState extends State<SetupView> {
Flexible( Flexible(
child: Text( child: Text(
AppLocalizations.of(context).welcomeAboutPrasule, AppLocalizations.of(context).welcomeAboutPrasule,
textAlign: TextAlign.center,
), ),
), ),
if (!widget.newWallet) if (!widget.newWallet)
const SizedBox( const SizedBox(
height: 5, height: 8,
), ),
Flexible( Flexible(
child: Text( child: Text(
AppLocalizations.of(context).welcomeInstruction, AppLocalizations.of(context).welcomeInstruction,
textAlign: TextAlign.center,
), ),
), ),
], ],