fixed port + recipient storing
This commit is contained in:
@@ -70,7 +70,6 @@ MNTX_GATEWAY_METRICS_PORT=9404
|
||||
MNTX_GATEWAY_HTTP_PORT=8084
|
||||
MONETIX_BASE_URL=https://api.txflux.com
|
||||
|
||||
|
||||
# FX oracle stack
|
||||
FX_ORACLE_DIR=fx_oracle
|
||||
FX_ORACLE_COMPOSE_PROJECT=sendico-fx-oracle
|
||||
|
||||
@@ -84,14 +84,13 @@ Recipient newRecipient({
|
||||
String? description,
|
||||
String? avatarUrl,
|
||||
bool isArchived = false,
|
||||
}) =>
|
||||
Recipient(
|
||||
storable: newStorable(),
|
||||
permissionBound: newPermissionBound(organizationBound: newOrganizationBound(organizationRef: organizationRef)),
|
||||
describable: newDescribable(name: name, description: description),
|
||||
email: email,
|
||||
status: status,
|
||||
type: type,
|
||||
avatarUrl: avatarUrl,
|
||||
isArchived: isArchived,
|
||||
);
|
||||
}) => Recipient(
|
||||
storable: newStorable(),
|
||||
permissionBound: newPermissionBound(organizationBound: newOrganizationBound(organizationRef: organizationRef)),
|
||||
describable: newDescribable(name: name, description: description),
|
||||
email: email,
|
||||
status: status,
|
||||
type: type,
|
||||
avatarUrl: avatarUrl,
|
||||
isArchived: isArchived,
|
||||
);
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import 'package:pshared/data/mapper/organization/bound.dart';
|
||||
import 'package:pshared/data/mapper/recipient/recipient.dart';
|
||||
import 'package:pshared/models/recipient/filter.dart';
|
||||
import 'package:pshared/models/recipient/recipient.dart';
|
||||
import 'package:pshared/models/recipient/status.dart';
|
||||
|
||||
@@ -51,9 +51,7 @@ class PaymentDetailsSection extends StatelessWidget {
|
||||
const SizedBox(height: toggleSpacing),
|
||||
AnimatedCrossFade(
|
||||
duration: animationDuration,
|
||||
crossFadeState: isFormVisible
|
||||
? CrossFadeState.showFirst
|
||||
: CrossFadeState.showSecond,
|
||||
crossFadeState: isFormVisible ? CrossFadeState.showFirst : CrossFadeState.showSecond,
|
||||
firstChild: PaymentMethodForm(
|
||||
key: const ValueKey('formVisible'),
|
||||
isEditable: isEditable,
|
||||
|
||||
Reference in New Issue
Block a user