mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
fix: properly detect successful authentication on dark mode
This commit is contained in:
@@ -84,7 +84,7 @@ class Client extends EventEmitter {
|
|||||||
timeout: 0,
|
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) {
|
if (this.options.session) {
|
||||||
// Check if session restore was successfull
|
// Check if session restore was successfull
|
||||||
|
|||||||
Reference in New Issue
Block a user