Replace send token dropdown with static display when token is locked
All checks were successful
check / check (push) Successful in 17s

When sending from the address-token view, show the token symbol as
plain text instead of a disabled dropdown. ERC-20 tokens include an
etherscan link to the contract address. The dropdown is restored when
navigating back or entering send from other views.
This commit is contained in:
2026-02-27 11:38:42 +07:00
parent a1b181a471
commit fbb0def267
5 changed files with 16 additions and 4 deletions

View File

@@ -403,7 +403,8 @@ function init(ctx) {
}
$("send-to").value = "";
$("send-amount").value = "";
$("send-token").disabled = false;
$("send-token").classList.remove("hidden");
$("send-token-static").classList.add("hidden");
renderSendTokenSelect(addr);
updateSendBalance();
showView("send");