Add Nordigen

This commit is contained in:
Hillel Coren 2023-12-26 14:07:59 +02:00
parent 76299bc418
commit 69398d0c29
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ import 'package:flutter_redux/flutter_redux.dart';
import 'package:invoiceninja_flutter/constants.dart'; import 'package:invoiceninja_flutter/constants.dart';
import 'package:invoiceninja_flutter/redux/app/app_state.dart'; import 'package:invoiceninja_flutter/redux/app/app_state.dart';
import 'package:invoiceninja_flutter/ui/app/icon_text.dart'; import 'package:invoiceninja_flutter/ui/app/icon_text.dart';
import 'package:invoiceninja_flutter/utils/platforms.dart';
class AppButton extends StatelessWidget { class AppButton extends StatelessWidget {
const AppButton({ const AppButton({
@ -38,7 +39,7 @@ class AppButton extends StatelessWidget {
color: Colors.white, color: Colors.white,
), ),
), ),
child: iconData != null child: iconData != null && isDesktop(context)
? IconText( ? IconText(
icon: iconData, icon: iconData,
text: label, text: label,

View File

@ -18,7 +18,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = { static final Map<String, Map<String, String>> _localizedValues = {
'en': { 'en': {
// STARTER: lang key - do not remove comment // STARTER: lang key - do not remove comment
'yodlee_regions': 'Regions: USA, Australia, UK & India', 'yodlee_regions': 'Regions: USA, UK, Australia & India',
'nordigen_regions': 'Regions: Europe & UK', 'nordigen_regions': 'Regions: Europe & UK',
'select_provider': 'Select Provider', 'select_provider': 'Select Provider',
'payment_type_credit': 'Payment Type Credit', 'payment_type_credit': 'Payment Type Credit',