Added custom PWA reloading - 10 minutes of idle or when moved to the background or when loading initially or manually with the new button in settings
This commit is contained in:
+6
-4
@@ -221,10 +221,12 @@ export const startContextPolling = () => {
|
||||
}
|
||||
};
|
||||
|
||||
createEffect(() => {
|
||||
// Re-run whenever ctx changes
|
||||
currentTaskContext();
|
||||
startContextPolling();
|
||||
createRoot(() => {
|
||||
createEffect(() => {
|
||||
// Re-run whenever ctx changes
|
||||
currentTaskContext();
|
||||
startContextPolling();
|
||||
});
|
||||
});
|
||||
|
||||
export interface FilterTemplate {
|
||||
|
||||
Reference in New Issue
Block a user