Swap verify/import buttons

This commit is contained in:
Hillel Coren 2022-05-20 11:44:18 +03:00
parent 6ebd29b0ff
commit 22f8856732
1 changed files with 7 additions and 7 deletions

View File

@ -158,18 +158,18 @@ class _CompanyGatewayOverview extends StatelessWidget {
children: [ children: [
Expanded( Expanded(
child: AppButton( child: AppButton(
iconData: isDesktop(context) ? MdiIcons.import : null, iconData:
label: localization.importCustomers.toUpperCase(), isDesktop(context) ? MdiIcons.checkCircleOutline : null,
onPressed: () => viewModel.onStripeImportPressed(context), label: localization.verifyCustomers.toUpperCase(),
onPressed: () => viewModel.onStripeVerifyPressed(context),
), ),
), ),
SizedBox(width: kTableColumnGap), SizedBox(width: kTableColumnGap),
Expanded( Expanded(
child: AppButton( child: AppButton(
iconData: iconData: isDesktop(context) ? MdiIcons.import : null,
isDesktop(context) ? MdiIcons.checkCircleOutline : null, label: localization.importCustomers.toUpperCase(),
label: localization.verifyCustomers.toUpperCase(), onPressed: () => viewModel.onStripeImportPressed(context),
onPressed: () => viewModel.onStripeVerifyPressed(context),
), ),
), ),
], ],