redesigned payment page + a lot of fixes
This commit is contained in:
@@ -30,8 +30,13 @@ class SourceWalletSelector extends StatelessWidget {
|
||||
return Text(l10n.noWalletsAvailable, style: theme.textTheme.bodySmall);
|
||||
}
|
||||
|
||||
final effectiveSelectedWalletRef = selectedWalletRef != null &&
|
||||
wallets.any((wallet) => wallet.id == selectedWalletRef)
|
||||
? selectedWalletRef
|
||||
: null;
|
||||
|
||||
return DropdownButtonFormField<String>(
|
||||
initialValue: selectedWalletRef,
|
||||
initialValue: effectiveSelectedWalletRef,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.whereGetMoney,
|
||||
|
||||
Reference in New Issue
Block a user