fix warning
This commit is contained in:
parent
4e233a5703
commit
ec514399b6
|
@ -101,7 +101,7 @@ class MainActivity : AppCompatActivity(), ScriptListener, WalletConnectListener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateConnection(view: View) {
|
fun updateConnection(@Suppress("UNUSED_PARAMETER") view: View) {
|
||||||
val chainID = CHAIN_IDS[networkSpinner.selectedItemPosition]
|
val chainID = CHAIN_IDS[networkSpinner.selectedItemPosition]
|
||||||
Registry.settingsManager.chainID = chainID
|
Registry.settingsManager.chainID = chainID
|
||||||
Registry.ethereumRPC.changeEndpoint(Registry.settingsManager.rpcEndpoint)
|
Registry.ethereumRPC.changeEndpoint(Registry.settingsManager.rpcEndpoint)
|
||||||
|
|
Loading…
Reference in New Issue