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
Copy file name to clipboardExpand all lines: apps/flipcash/shared/onramp/deeplinks/src/main/kotlin/com/flipcash/app/onramp/ExternalWalletOnRampHandler.kt
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -283,13 +283,24 @@ fun ExternalWalletOnRampHandler(
283
283
error = error
284
284
)
285
285
286
-
BottomBarManager.showError(
287
-
title = title,
288
-
message = message,
289
-
) {
286
+
val onDismiss = {
290
287
close(false)
291
288
controller.reset()
292
289
}
290
+
291
+
if (error.isAlert) {
292
+
BottomBarManager.showAlert(
293
+
title = title,
294
+
message = message,
295
+
onDismiss = { onDismiss() },
296
+
)
297
+
} else {
298
+
BottomBarManager.showError(
299
+
title = title,
300
+
message = message,
301
+
onDismiss = { onDismiss() },
302
+
)
303
+
}
293
304
}
294
305
}
295
306
}
@@ -300,6 +311,13 @@ fun ExternalWalletOnRampHandler(
0 commit comments