fix warning

This commit is contained in:
Michele Balistreri 2020-10-13 17:52:32 +02:00
parent 4e233a5703
commit ec514399b6
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 1 additions and 1 deletions

View File

@ -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]
Registry.settingsManager.chainID = chainID
Registry.ethereumRPC.changeEndpoint(Registry.settingsManager.rpcEndpoint)