thinko with push checks
This commit is contained in:
parent
dbddba3691
commit
3313d0623a
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ export class Session {
|
||||||
}
|
}
|
||||||
|
|
||||||
async arePushNotificationsEnabled() {
|
async arePushNotificationsEnabled() {
|
||||||
if (await this._platform.notificationService.isPushEnabled()) {
|
if (!await this._platform.notificationService.isPushEnabled()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const readTxn = await this._storage.readTxn([this._storage.storeNames.session]);
|
const readTxn = await this._storage.readTxn([this._storage.storeNames.session]);
|
||||||
|
|
Reference in a new issue