From a1fad5b804c6c91f92e295094d41214f7d92c820 Mon Sep 17 00:00:00 2001 From: Swapnil Tripathi Date: Mon, 13 Nov 2023 15:43:08 +0530 Subject: [PATCH] remove toast Signed-off-by: Swapnil Tripathi --- .../java/org/hyperledger/ariesvcx/HolderScreen.kt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt b/uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt index a46f6dd190..b719d61c6f 100644 --- a/uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt +++ b/uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt @@ -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 = { },