pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update useIsDesktopApp.ts

Pas 949b1081 be36a431

+8 -1
+8 -1
src/hooks/useIsDesktopApp.ts
··· 1 + // Desktop app is detected via a global set by the Electron preload script. 2 + declare global { 3 + interface Window { 4 + __PSTREAM_DESKTOP__?: boolean; 5 + } 6 + } 7 + 1 8 export function useIsDesktopApp(): boolean { 2 - return navigator.userAgent.includes("P-Stream/"); 9 + return Boolean(window.__PSTREAM_DESKTOP__); 3 10 }