public void RefreshTopPanelView() { passwordInputField.resetFields(); recepientAddressInputField.text = ""; RefreshRecepientAddressDropdown(); int index = walletSelectionDropdown.value; if (index >= walletSelectionDropdown.options.Count - 1) { createWalletPanel.SetActive(true); operationsPanel.SetActive(false); EtherBalanceText.text = ""; CustomTokenBalanceText.text = ""; CopyToClipboardButton.interactable = false; ShowQRCodeButton.interactable = false; currencyInfoScrollView.SetActive(true); QRPanel.gameObject.SetActive(false); } else { createWalletPanel.SetActive(false); operationsPanel.SetActive(true); CopyToClipboardButton.interactable = true; ShowQRCodeButton.interactable = true; QRPanel.RenderQRCode(walletList[index].address); StartCoroutine(CheckAccountBalanceCoroutine(walletList[index].address)); } }
private void UIFunction() { if (qrcode) { qrcode.RenderQRCode(WalletManager.Instance.publicAddress); } addr.text = "Address:" + WalletManager.Instance.publicAddress; }