From 6ea18ebcfc3b82fcdff768d9c1afecf3c5927e6f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 8 Jan 2024 11:05:45 +0200 Subject: [PATCH] Add version check for Nordigen --- lib/ui/bank_account/bank_account_screen.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ui/bank_account/bank_account_screen.dart b/lib/ui/bank_account/bank_account_screen.dart index 444d1c2e8..640c01c82 100644 --- a/lib/ui/bank_account/bank_account_screen.dart +++ b/lib/ui/bank_account/bank_account_screen.dart @@ -37,7 +37,9 @@ class BankAccountScreen extends StatelessWidget { void connectAccounts(BuildContext context) { final localization = AppLocalization.of(context)!; - if (isSelfHosted(context)) { + if (!supportsLatestFeatures('5.8.0')) { + _connectAccounts(context, BankAccountEntity.INTEGRATION_TYPE_YODLEE); + } else if (isSelfHosted(context)) { _connectAccounts(context, BankAccountEntity.INTEGRATION_TYPE_NORDIGEN); } else { showDialog(