Introduce a new sync interval configuration for when the app is in the background, allowing users to set a longer sync period to reduce resource usage. Replace the fixed focus threshold with dynamic interval switching based on app focus state. Add syncIntervalUnfocused setting to the UI with a new background sync interval selector. Refactor sync interval management into a restartSyncInterval function to handle both focused and unfocused intervals consistently. |
||
|---|---|---|
| .. | ||
| onyx-cli | ||
| onyx-core | ||