migration to address book service

This commit is contained in:
Stephan D
2025-12-05 02:32:20 +01:00
parent 2754a7aa13
commit 2fe5151650

View File

@@ -19,6 +19,8 @@ class PaymentMethodsProvider extends GenericProvider<PaymentMethod> {
if (recipients.currentObject != null) loadMethods(organizations, recipients.currentObject?.id);
}
// TODO: current providers structure forces to use weird construction with in-place PaymentMethodsProviders
// it would be better to load reipients together with their payment methods in RecipientsProvider
Future<void> loadMethods(OrganizationsProvider organizations, String? recipientRef) async {
_organizations = organizations;
if (_organizations.isOrganizationSet && (recipientRef != null)) {