Add Nordigen
This commit is contained in:
parent
531a48c853
commit
23fd64fec4
|
|
@ -62,7 +62,7 @@ class BankAccountScreen extends StatelessWidget {
|
||||||
final store = StoreProvider.of<AppState>(context);
|
final store = StoreProvider.of<AppState>(context);
|
||||||
final state = store.state;
|
final state = store.state;
|
||||||
final userCompany = state.userCompany;
|
final userCompany = state.userCompany;
|
||||||
final localization = AppLocalization.of(context);
|
final localization = AppLocalization.of(context)!;
|
||||||
|
|
||||||
return ListScaffold(
|
return ListScaffold(
|
||||||
entityType: EntityType.bankAccount,
|
entityType: EntityType.bankAccount,
|
||||||
|
|
@ -94,11 +94,10 @@ class BankAccountScreen extends StatelessWidget {
|
||||||
const EdgeInsets.only(left: 16, top: 8, right: 16, bottom: 10),
|
const EdgeInsets.only(left: 16, top: 8, right: 16, bottom: 10),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
if (state.isHosted) ...[
|
|
||||||
if (state.isEnterprisePlan) ...[
|
if (state.isEnterprisePlan) ...[
|
||||||
Expanded(
|
Expanded(
|
||||||
child: AppButton(
|
child: AppButton(
|
||||||
label: localization!.connect.toUpperCase(),
|
label: localization.connect.toUpperCase(),
|
||||||
onPressed: () => connectAccounts(context),
|
onPressed: () => connectAccounts(context),
|
||||||
iconData: Icons.link,
|
iconData: Icons.link,
|
||||||
),
|
),
|
||||||
|
|
@ -119,7 +118,7 @@ class BankAccountScreen extends StatelessWidget {
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
HelpText(localization!.upgradeToConnectBankAccount),
|
HelpText(localization.upgradeToConnectBankAccount),
|
||||||
SizedBox(height: 16),
|
SizedBox(height: 16),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
|
|
@ -145,12 +144,11 @@ class BankAccountScreen extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: kGutterWidth),
|
SizedBox(width: kGutterWidth),
|
||||||
],
|
|
||||||
Expanded(
|
Expanded(
|
||||||
child: AppButton(
|
child: AppButton(
|
||||||
label: (state.isHosted
|
label: (state.isHosted
|
||||||
? localization!.rules
|
? localization.rules
|
||||||
: localization!.manageRules)
|
: localization.manageRules)
|
||||||
.toUpperCase(),
|
.toUpperCase(),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
store.dispatch(
|
store.dispatch(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue