display "transparent" instead of "p2pkh" on firo address type

This commit is contained in:
julian 2024-05-08 11:01:52 -06:00
parent 8a076a8d5b
commit bf14dd09f4

View file

@ -394,7 +394,11 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
DropdownMenuItem(
value: i,
child: Text(
"${_walletAddressTypes[i].readableName} address",
_supportsSpark &&
_walletAddressTypes[i] ==
AddressType.p2pkh
? "Transparent address"
: "${_walletAddressTypes[i].readableName} address",
style: STextStyles.w500_14(context),
),
),