address-book-#16 #18

Merged
tech merged 3 commits from address-book-#16 into main 2025-12-05 01:32:54 +00:00
Showing only changes of commit 2fe5151650 - Show all commits

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)) {