diff --git a/lib/ui/settings/settings_wizard.dart b/lib/ui/settings/settings_wizard.dart index c4517588c..43f07ec47 100644 --- a/lib/ui/settings/settings_wizard.dart +++ b/lib/ui/settings/settings_wizard.dart @@ -267,13 +267,14 @@ class _SettingsWizardState extends State { ); return AlertDialog( - title: Text(localization.welcomeToInvoiceNinja), + title: + isMobile(context) ? Text(localization.welcomeToInvoiceNinja) : null, content: AppForm( focusNode: _focusNode, formKey: _formKey, child: SingleChildScrollView( child: Container( - width: isMobile(context) ? double.infinity : 400, + width: isMobile(context) ? double.infinity : 500, child: Column( mainAxisSize: MainAxisSize.min, children: isMobile(context) @@ -287,11 +288,26 @@ class _SettingsWizardState extends State { darkMode, ] : [ + Row( + children: [ + Expanded( + child: Text( + localization.welcomeToInvoiceNinja, + style: Theme.of(context).textTheme.headline6, + )), + if (state.isHosted) ...[ + SizedBox(width: kTableColumnGap), + Flexible(child: darkMode), + ] + ], + ), + SizedBox(height: 16), Row( children: [ Expanded(child: companyName), SizedBox(width: kTableColumnGap), - Expanded(child: darkMode), + Expanded( + child: state.isHosted ? subdomain : darkMode), ], ), Row( @@ -308,14 +324,6 @@ class _SettingsWizardState extends State { Expanded(child: currency), ], ), - if (state.isHosted) - Row( - children: [ - Expanded(child: subdomain), - SizedBox(width: kTableColumnGap), - Expanded(child: SizedBox()), - ], - ), ], ), ),