From ec514399b69847f4460bca81bec890e4b03c6b7c Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Tue, 13 Oct 2020 17:52:32 +0200 Subject: [PATCH] fix warning --- app/src/main/java/im/status/keycard/connect/ui/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/im/status/keycard/connect/ui/MainActivity.kt b/app/src/main/java/im/status/keycard/connect/ui/MainActivity.kt index 0d2000a..bb16d74 100644 --- a/app/src/main/java/im/status/keycard/connect/ui/MainActivity.kt +++ b/app/src/main/java/im/status/keycard/connect/ui/MainActivity.kt @@ -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)