File tree Expand file tree Collapse file tree
features/onramp/src/main/kotlin/com/flipcash/app/onramp/internal
shared/onramp/coinbase/src/main/kotlin/com/flipcash/app/onramp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,14 +347,14 @@ internal class OnRampViewModel @Inject constructor(
347347 }
348348
349349 is OnRampPaymentError .GooglePayNotSupported -> {
350- BottomBarManager .showError (
350+ BottomBarManager .showAlert (
351351 title = resources.getString(R .string.error_title_onrampGooglePayNotSupported),
352352 message = resources.getString(R .string.error_description_onrampGooglePayNotSupported),
353353 )
354354 }
355355
356356 is OnRampPaymentError .GooglePayNoPaymentMethod -> {
357- BottomBarManager .showError (
357+ BottomBarManager .showAlert (
358358 title = resources.getString(R .string.error_title_onrampGooglePayNotReady),
359359 message = resources.getString(R .string.error_description_onrampGooglePayNotReady),
360360 )
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ class CoinbaseOnRampController @Inject constructor(
155155 ? : return Result .failure(Throwable (" User ID not found" ))
156156 val usdfSwapAccounts = Token .usdf.timelockSwapAccounts(owner.authorityPublicKey)
157157
158- val destination = usdfSwapAccounts.ata .publicKey.base58()
158+ val destination = usdfSwapAccounts.pda .publicKey.base58()
159159
160160 val email = userManager.profile?.verifiedEmailAddress
161161 val phone = userManager.profile?.verifiedPhoneNumber
@@ -201,7 +201,7 @@ class CoinbaseOnRampController @Inject constructor(
201201 ? : return Result .failure(Throwable (" User ID not found" ))
202202 val usdfSwapAccounts = Token .usdf.timelockSwapAccounts(owner.authorityPublicKey)
203203
204- val destination = usdfSwapAccounts.ata .publicKey.base58()
204+ val destination = usdfSwapAccounts.pda .publicKey.base58()
205205
206206 val email = userManager.profile?.verifiedEmailAddress
207207 val phone = userManager.profile?.verifiedPhoneNumber
You can’t perform that action at this time.
0 commit comments