Skip to content

Commit

Permalink
chore: format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
sabereen committed Aug 12, 2024
1 parent c31ba98 commit 764ceed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import type {

export class KeepAwakeWeb extends WebPlugin implements KeepAwakePlugin {
private wakeLock: WakeLockSentinel | null = null;
private readonly _isSupported = typeof navigator !== 'undefined' && 'wakeLock' in navigator;
private readonly _isSupported =
typeof navigator !== 'undefined' && 'wakeLock' in navigator;

public async keepAwake(): Promise<void> {
if (!this._isSupported) {
Expand Down

0 comments on commit 764ceed

Please sign in to comment.