Support running Readest in modern browsers

Now we support Web platform
This commit is contained in:
chrox
2024-12-05 18:37:28 +01:00
parent 23eb2514bc
commit aa16bc09f1
16 changed files with 328 additions and 51 deletions
@@ -30,7 +30,10 @@ const useTrafficLight = () => {
};
useEffect(() => {
if (!appService?.hasTrafficLight) return;
handleSwitchFullScreen();
return () => {
unlistenEnterFullScreen?.();
unlistenExitFullScreen?.();