From 4344df6152cc4b565fabc87a00fce5413129a6b8 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Tue, 25 Aug 2020 21:40:57 -0400 Subject: [PATCH] fix: properly detect successful authentication on dark mode --- src/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.js b/src/Client.js index 4ba1f57..e9966a2 100644 --- a/src/Client.js +++ b/src/Client.js @@ -84,7 +84,7 @@ class Client extends EventEmitter { timeout: 0, }); - const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '[data-asset-intro-image-light="true"]'; + const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '[data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]'; if (this.options.session) { // Check if session restore was successfull