From a05ac9cf2ed9a4223dfb6343d51f4a04fa9a8fdc Mon Sep 17 00:00:00 2001 From: Rui Date: Wed, 27 Nov 2024 09:28:59 -0800 Subject: [PATCH] Clean up --- app/src/main/java/exchange/dydx/carteraExample/WalletList.kt | 1 - .../java/exchange/dydx/carteraExample/WalletListViewModel.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/exchange/dydx/carteraExample/WalletList.kt b/app/src/main/java/exchange/dydx/carteraExample/WalletList.kt index 1bad367..3822218 100644 --- a/app/src/main/java/exchange/dydx/carteraExample/WalletList.kt +++ b/app/src/main/java/exchange/dydx/carteraExample/WalletList.kt @@ -179,7 +179,6 @@ object WalletList { modifier = Modifier .fillMaxWidth() .clickable { - // nav.openWalletConnectModal() viewState.wcModalAction?.invoke() }, ) { diff --git a/app/src/main/java/exchange/dydx/carteraExample/WalletListViewModel.kt b/app/src/main/java/exchange/dydx/carteraExample/WalletListViewModel.kt index 0e3a849..87b4ca0 100644 --- a/app/src/main/java/exchange/dydx/carteraExample/WalletListViewModel.kt +++ b/app/src/main/java/exchange/dydx/carteraExample/WalletListViewModel.kt @@ -134,7 +134,7 @@ class WalletListViewModel( toastMessage("Please switch to the wallet app") }, completion = { signature, error -> - // delay for 1 second + // delay for 1 second, according to app switching Thread.sleep(1000) if (error != null) { toastWalletError(error)