Skip to content

Commit

Permalink
remove toast
Browse files Browse the repository at this point in the history
Signed-off-by: Swapnil Tripathi <[email protected]>
  • Loading branch information
swaptr committed Nov 13, 2023
1 parent 5dc2390 commit a1fad5b
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,6 @@ fun HolderScreen(
demoController.awaitCredentialPolling()
}

LaunchedEffect(Unit) {
demoController.subscribeToShowDialog {
scope.launch(Dispatchers.Main) {
Toast.makeText(
context,
"New Offer Received",
Toast.LENGTH_LONG
).show()
}
}
}

if (demoState.offerReceived) {
AlertDialog(
onDismissRequest = { },
Expand Down

0 comments on commit a1fad5b

Please sign in to comment.