Updated on 2026-08-14
This commit is contained in:
parent
ba873ed73e
commit
9964d5d046
1 changed files with 3 additions and 3 deletions
|
|
@ -47,9 +47,9 @@ internal class AddressPayIdMiddleware {
|
|||
}
|
||||
|
||||
private fun setAddressAndCheck(data: String, isUserInput: Boolean, dispatch: (Action) -> Unit) {
|
||||
val data = data.toLowerCase()
|
||||
if (PayIdManager.isPayId(data)) {
|
||||
dispatch(SetPayIdWalletAddress(data, "", isUserInput))
|
||||
val potentialPayId = data.toLowerCase()
|
||||
if (PayIdManager.isPayId(potentialPayId)) {
|
||||
dispatch(SetPayIdWalletAddress(potentialPayId, "", isUserInput))
|
||||
} else {
|
||||
dispatch(SetWalletAddress(data, isUserInput))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue