You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<stringname="error_description_phantomDisconnected">Phantom could not connect to the network. Please try again</string>
310
+
<stringname="error_description_phantomUnauthorized">The request has not been authorized by the user.</string>
311
+
<stringname="error_description_phantomUserRejected">The user rejected the request.</string>
312
+
<stringname="error_description_phantomInvalidInput">Request was invalid. Please try again</string>
313
+
<stringname="error_description_phantomRequestedResourceNotAvailable">The requested resource is not available. This can occur if a previous confirmation modal was not closed in Phantom before requesting a new approval</string>
314
+
<stringname="error_description_phantomTransactionRejected">The transaction sent to Phantom was invalid</string>
315
+
<stringname="error_description_phantomMethodNotFound">Phantom did not recognize the request.</string>
316
+
<stringname="error_description_phantomInternalError">Something went wrong within Phantom. Please try again</string>
Copy file name to clipboardExpand all lines: apps/flipcash/features/scanner/src/main/kotlin/com/flipcash/app/scanner/internal/ScannerDeepLinkHandler.kt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ internal fun ScannerDeeplinkHandler(
isPhantomOnRampError.DecryptionError-> context.getString(R.string.error_title_phantomDecryption) to context.getString(R.string.error_description_phantomDecryption)
190
+
isPhantomOnRampError.DeserializationError-> context.getString(R.string.error_title_phantomDeserialization) to context.getString(R.string.error_description_phantomDeserialization)
191
+
isPhantomOnRampError.FailedToCreateTransaction-> context.getString(R.string.error_title_phantomFailedToCreateTransaction) to context.getString(R.string.error_description_phantomFailedToCreateTransaction)
192
+
isPhantomOnRampError.FailedToGenerateDeeplink-> context.getString(R.string.error_title_phantomFailedToCreateDeeplink) to context.getString(R.string.error_description_phantomFailedToCreateDeeplink)
193
+
isPhantomOnRampError.FailedToSendTransaction-> context.getString(R.string.error_title_phantomFailedToSendTransaction) to context.getString(R.string.error_description_phantomFailedToSendTransaction)
PhantomError.Unknown->"Something went wrong"to "Please try again"
195
+
PhantomError.Disconnected->context.getString(R.string.error_title_phantomDisconnected) to context.getString(R.string.error_description_phantomDisconnected)
196
+
PhantomError.Unauthorized->context.getString(R.string.error_title_phantomUnauthorized) to context.getString(R.string.error_description_phantomUnauthorized)
197
+
PhantomError.UserRejectedRequest->context.getString(R.string.error_title_phantomUserRejected) to context.getString(R.string.error_description_phantomUserRejected)
198
+
PhantomError.InvalidInput->context.getString(R.string.error_title_phantomInvalidInput) to context.getString(R.string.error_description_phantomInvalidInput)
199
+
PhantomError.RequestedResourceNotAvailable->context.getString(R.string.error_title_phantomRequestedResourceNotAvailable) to context.getString(R.string.error_description_phantomRequestedResourceNotAvailable)
200
+
PhantomError.TransactionRejected->context.getString(R.string.error_title_phantomTransactionRejected) to context.getString(R.string.error_description_phantomTransactionRejected)
201
+
PhantomError.MethodNotFound->context.getString(R.string.error_title_phantomMethodNotFound) to context.getString(R.string.error_description_phantomMethodNotFound)
202
+
PhantomError.InternalError->context.getString(R.string.error_title_phantomInternalError) to context.getString(R.string.error_description_phantomInternalError)
203
+
PhantomError.Unknown->context.getString(R.string.error_title_phantomUnknown) to context.getString(R.string.error_description_phantomUnknown)
Copy file name to clipboardExpand all lines: apps/flipcash/shared/phantom-onramp/src/main/kotlin/com/flipcash/app/onramp/internal/PhantomDepositState.kt
0 commit comments