diff --git a/lib/ui/app/list_scaffold.dart b/lib/ui/app/list_scaffold.dart index 8106b8bf8..50282591b 100644 --- a/lib/ui/app/list_scaffold.dart +++ b/lib/ui/app/list_scaffold.dart @@ -31,7 +31,6 @@ class ListScaffold extends StatelessWidget { this.onHamburgerLongPress, this.onCancelSettingsSection, this.onCancelSettingsIndex = 0, - this.createLabel, }); final EntityType entityType; @@ -45,7 +44,6 @@ class ListScaffold extends StatelessWidget { final String onCancelSettingsSection; final int onCancelSettingsIndex; final Function onCheckboxPressed; - final String createLabel; @override Widget build(BuildContext context) { @@ -76,7 +74,7 @@ class ListScaffold extends StatelessWidget { ); } else if (entityType != null && entityType != EntityType.settings) { leading = Padding( - padding: const EdgeInsets.only(left: 16, right: 12), + padding: const EdgeInsets.only(left: 16, right: 14), child: OutlinedButton( style: ButtonStyle( backgroundColor: MaterialStateProperty.all( @@ -85,7 +83,7 @@ class ListScaffold extends StatelessWidget { createEntityByType(entityType: entityType, context: context); }, child: IconText( - text: createLabel ?? localization.create, + text: localization.create, icon: Icons.add, style: TextStyle(color: Colors.white), ), diff --git a/lib/ui/bank_account/bank_account_screen.dart b/lib/ui/bank_account/bank_account_screen.dart index 470357171..9b127a7ab 100644 --- a/lib/ui/bank_account/bank_account_screen.dart +++ b/lib/ui/bank_account/bank_account_screen.dart @@ -66,7 +66,6 @@ class BankAccountScreen extends StatelessWidget { return ListScaffold( entityType: EntityType.bankAccount, onHamburgerLongPress: () => store.dispatch(StartBankAccountMultiselect()), - createLabel: localization.connect, appBarTitle: ListFilter( key: ValueKey( '__filter_${state.bankAccountListState.filterClearedAt}__'), @@ -90,7 +89,7 @@ class BankAccountScreen extends StatelessWidget { body: Column( children: [ Padding( - padding: const EdgeInsets.symmetric(horizontal: 20), + padding: const EdgeInsets.symmetric(horizontal: 16), child: Row( children: [ Expanded( diff --git a/lib/ui/transaction/view/transaction_view.dart b/lib/ui/transaction/view/transaction_view.dart index be43fc1fa..e9c31349e 100644 --- a/lib/ui/transaction/view/transaction_view.dart +++ b/lib/ui/transaction/view/transaction_view.dart @@ -259,7 +259,7 @@ class _MatchDepositsState extends State<_MatchDeposits> { Expanded( child: Padding( padding: - const EdgeInsets.symmetric(horizontal: 20, vertical: 4), + const EdgeInsets.symmetric(horizontal: 16, vertical: 4), child: Column( children: [ Row( @@ -352,7 +352,7 @@ class _MatchDepositsState extends State<_MatchDeposits> { ), if (_selectedInvoices.isNotEmpty) Padding( - padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 12), + padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12), child: Text( '${_selectedInvoices.length} ${localization.selected} • ${formatNumber(totalSelected, context, currencyId: currencyId)}', textAlign: TextAlign.center, @@ -362,9 +362,9 @@ class _MatchDepositsState extends State<_MatchDeposits> { ListDivider(), Padding( padding: const EdgeInsets.only( - left: 20, + left: 16, bottom: 18, - right: 20, + right: 16, ), child: AppButton( label: localization.convertToPayment, @@ -605,9 +605,9 @@ class _MatchWithdrawalsState extends State<_MatchWithdrawals> { ListDivider(), Padding( padding: const EdgeInsets.only( - left: 20, + left: 16, bottom: 16, - right: 20, + right: 16, ), child: AppButton( label: localization.convertToExpense,