Skip to content

Commit

Permalink
fix: change to fullscreen mode (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renji-XD authored Oct 7, 2024
1 parent 2811a8d commit d23dfa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/web/src/lib/components/book-reader/book-reader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@
document,
furiganaStyle,
hideSpoilerImage,
$isMobile$ &&
(navigator.standalone || window.matchMedia('(display-mode: fullscreen)').matches)
navigator.standalone || window.matchMedia('(display-mode: fullscreen)').matches
);
return contentEl$.pipe(mergeMap((contentEl) => reactiveElementsFn(contentEl)));
}),
Expand Down

0 comments on commit d23dfa2

Please sign in to comment.