From c962040901f1fa2140ab8e040eda1a0a8f52a50c Mon Sep 17 00:00:00 2001 From: David Wood Date: Mon, 20 Jan 2025 16:39:49 +0900 Subject: [PATCH] chore: fix some typos in comment (#1769) Signed-off-by: davidwoood --- .../data/fee/types/hydra/HydrationFeeInjector.kt | 2 +- .../nova/feature_dapp_impl/web3/states/BaseState.kt | 2 +- .../handling/handlers/WalletConnectPairDeeplinkHandler.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/feature-account-api/src/main/java/io/novafoundation/nova/feature_account_api/data/fee/types/hydra/HydrationFeeInjector.kt b/feature-account-api/src/main/java/io/novafoundation/nova/feature_account_api/data/fee/types/hydra/HydrationFeeInjector.kt index f3adcf526b..db1384853f 100644 --- a/feature-account-api/src/main/java/io/novafoundation/nova/feature_account_api/data/fee/types/hydra/HydrationFeeInjector.kt +++ b/feature-account-api/src/main/java/io/novafoundation/nova/feature_account_api/data/fee/types/hydra/HydrationFeeInjector.kt @@ -32,7 +32,7 @@ interface HydrationFeeInjector { object ToNative : ResetMode() /** - * Resets the the fee to the native one only the current fee payment asset is different + * Resets the fee to the native one only the current fee payment asset is different */ class ToNativeLazily(val feeAssetBeforeTransaction: BigInteger) : ResetMode() } diff --git a/feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/web3/states/BaseState.kt b/feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/web3/states/BaseState.kt index c084069189..90475566aa 100644 --- a/feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/web3/states/BaseState.kt +++ b/feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/web3/states/BaseState.kt @@ -33,7 +33,7 @@ abstract class BaseState, S>( Web3Session.Authorization.State.ALLOWED -> true // first time dapp request authorization during this session Web3Session.Authorization.State.NONE -> authorizePageWithConfirmation() - // user rejected this dapp previosuly - ask for authorization one more time + // user rejected this dapp previously - ask for authorization one more time Web3Session.Authorization.State.REJECTED -> authorizePageWithConfirmation() } } diff --git a/feature-deep-linking/src/main/java/io/novafoundation/nova/feature_deep_linking/presentation/handling/handlers/WalletConnectPairDeeplinkHandler.kt b/feature-deep-linking/src/main/java/io/novafoundation/nova/feature_deep_linking/presentation/handling/handlers/WalletConnectPairDeeplinkHandler.kt index 88af80e1bf..e0325f3c0f 100644 --- a/feature-deep-linking/src/main/java/io/novafoundation/nova/feature_deep_linking/presentation/handling/handlers/WalletConnectPairDeeplinkHandler.kt +++ b/feature-deep-linking/src/main/java/io/novafoundation/nova/feature_deep_linking/presentation/handling/handlers/WalletConnectPairDeeplinkHandler.kt @@ -18,7 +18,7 @@ class WalletConnectPairDeeplinkHandler( override suspend fun matches(data: Uri): Boolean { val newLinkMatch = data.scheme == "novawallet" && data.host == "wc" - // Older version of wc send both pair and sign requests through `wc:` deeplink so we additionaly check for `symKey` which is only present in pairing url + // Older version of wc send both pair and sign requests through `wc:` deeplink so we additionally check for `symKey` which is only present in pairing url val oldLinkMatch = data.scheme == "wc" && "symKey" in data.toString() return newLinkMatch || oldLinkMatch