From 5eb2f35c458e1967722cfef0cad60be2d2009f9a Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 14 Jul 2020 11:27:43 +1000 Subject: [PATCH] remove toast on link request when the linking screen is opened --- ts/components/DevicePairingDialog.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ts/components/DevicePairingDialog.tsx b/ts/components/DevicePairingDialog.tsx index e56bba982..c15604d88 100644 --- a/ts/components/DevicePairingDialog.tsx +++ b/ts/components/DevicePairingDialog.tsx @@ -262,14 +262,6 @@ export class DevicePairingDialog extends React.Component { private requestReceived(secondaryDevicePubKey: string | EventHandlerNonNull) { // FIFO: push at the front of the array with unshift() this.state.pubKeyRequests.unshift(secondaryDevicePubKey); - window.pushToast({ - title: window.i18n('gotPairingRequest'), - description: `${window.shortenPubkey( - secondaryDevicePubKey - )} ${window.i18n( - 'showPairingWordsTitle' - )}: ${window.mnemonic.pubkey_to_secret_words(secondaryDevicePubKey)}`, - }); if (!this.state.currentPubKey) { this.nextPubKey(); this.stopReceivingRequests();