Remove enabling notifyOnNetworkStatusChange usages

Starting with v4 this flag is now enabled by default
This commit is contained in:
schroda
2026-05-02 17:37:38 +02:00
parent 515c402aca
commit 00bba202ef
28 changed files with 26 additions and 70 deletions

View File

@@ -28,20 +28,20 @@ export function About() {
useAppTitle(t`About`);
const { data, loading, error, refetch } = requestManager.useGetAbout({ notifyOnNetworkStatusChange: true });
const { data, loading, error, refetch } = requestManager.useGetAbout();
const {
data: serverUpdateCheckData,
loading: isCheckingForServerUpdate,
refetch: checkForServerUpdate,
error: serverUpdateCheckError,
} = requestManager.useCheckForServerUpdate({ notifyOnNetworkStatusChange: true });
} = requestManager.useCheckForServerUpdate();
const {
data: webUIUpdateData,
loading: isCheckingForWebUIUpdate,
refetch: checkForWebUIUpdate,
error: orgWebUIUpdateCheckError,
} = requestManager.useCheckForWebUIUpdate({ notifyOnNetworkStatusChange: true });
} = requestManager.useCheckForWebUIUpdate();
const webUIUpdateCheckError = orgWebUIUpdateCheckError || webUIUpdateData?.checkForWebUIUpdate.tag === '';
const { data: webUIUpdateStatusData } = requestManager.useGetWebUIUpdateStatus();