From c9f57c6fa03a1d07d136d51cd2a7c5209623711d Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Sun, 22 Jan 2023 17:43:03 +0100 Subject: [PATCH] Notify user if paired devices are not persistent. --- public/scripts/ui.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index 3edd3df..1b105da 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -872,7 +872,10 @@ class PairDeviceDialog extends Dialog { }).finally(_ => { this._cleanUp() }) - .catch(_ => PersistentStorage.logBrowserNotCapable()); + .catch(_ => { + Events.fire('notify-user', 'Paired devices are not persistent.') + PersistentStorage.logBrowserNotCapable() + }); } _pairDeviceJoinKeyInvalid() {