diff options
author | Ansh <anshnanda10@gmail.com> | 2023-08-30 18:04:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 18:04:33 -0700 |
commit | 4ac82536c944048b6ee71130873d7fc6b115cb6f (patch) | |
tree | 754aba2349b9907f0fa880aa3c7175ad0ab158e2 /src/lib/api/debug-appview-proxy-header.ts | |
parent | 4bec7c1d856a9e75b5594995b26b5e01847df848 (diff) | |
download | voidsky-4ac82536c944048b6ee71130873d7fc6b115cb6f.tar.zst |
Fix 1304 refresh notifications when a notif is clicked or received (#1339)
* refresh notifications when a notif is clicked * make notification syncing smarter * allow enabled appview proxy on mobile * put back syncqueue code
Diffstat (limited to 'src/lib/api/debug-appview-proxy-header.ts')
-rw-r--r-- | src/lib/api/debug-appview-proxy-header.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/api/debug-appview-proxy-header.ts b/src/lib/api/debug-appview-proxy-header.ts index 7571bd37f..44363cde2 100644 --- a/src/lib/api/debug-appview-proxy-header.ts +++ b/src/lib/api/debug-appview-proxy-header.ts @@ -10,7 +10,6 @@ import {useState, useCallback, useEffect} from 'react' import {BskyAgent} from '@atproto/api' -import {isWeb} from 'platform/detection' import * as Storage from 'lib/storage' export function useDebugHeaderSetting(agent: BskyAgent): [boolean, () => void] { @@ -51,9 +50,6 @@ export function setDebugHeader(agent: BskyAgent, enabled: boolean) { } export async function applyDebugHeader(agent: BskyAgent) { - if (!isWeb) { - return - } if (await isEnabled()) { agent.api.xrpc.setHeader('x-appview-proxy', 'true') } |