mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-12-22 02:20:03 -07:00
fix: show node name instead of address
This commit is contained in:
parent
c129252da5
commit
f35ca00b16
@ -97,7 +97,7 @@ class OnboardingActivity : AppCompatActivity() {
|
||||
walletProxyPortEditText.isEnabled = usingProxy && !usingBundledTor
|
||||
|
||||
val node = PrefService.instance.node // should be using default here
|
||||
selectNodeButton.text = getString(R.string.node_button_text, node?.address)
|
||||
selectNodeButton.text = getString(R.string.node_button_text, node?.name)
|
||||
|
||||
bindListeners()
|
||||
bindObservers()
|
||||
|
@ -84,7 +84,7 @@ class SettingsActivity : AppCompatActivity() {
|
||||
updateProxy(cachedProxyAddress, cachedProxyPort)
|
||||
|
||||
val node = PrefService.instance.node // shouldn't use default value here
|
||||
selectNodeButton.text = getString(R.string.node_button_text, node?.address)
|
||||
selectNodeButton.text = getString(R.string.node_button_text, node?.name)
|
||||
|
||||
bindListeners()
|
||||
bindObservers()
|
||||
|
@ -21,7 +21,7 @@ class NodeSelectionDialogListenerAdapter(
|
||||
|
||||
override fun onNodeSelected() {
|
||||
val node = PrefService.instance.node
|
||||
setSelectNodeButtonText(activity.getString(R.string.node_button_text, node?.address))
|
||||
setSelectNodeButtonText(activity.getString(R.string.node_button_text, node?.name))
|
||||
|
||||
val (proxyAddress, proxyPort) = getProxyAndPortValues()
|
||||
Utils.refreshProxy(proxyAddress, proxyPort)
|
||||
|
Loading…
Reference in New Issue
Block a user