fix: properly detect successful authentication on dark mode

This commit is contained in:
Pedro Lopez
2020-08-25 21:40:57 -04:00
parent 382259488b
commit 4344df6152

View File

@@ -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