Skip to content

feat: add three-day and weekly sync intervals - #1336

Open
Kumarkrishna123 wants to merge 1 commit into
ReadYouApp:mainfrom
Kumarkrishna123:feat/1318-longer-sync-intervals
Open

Kumarkrishna123 wants to merge 1 commit into
ReadYouApp:mainfrom
Kumarkrishna123:feat/1318-longer-sync-intervals

Conversation

@Kumarkrishna123

Copy link
Copy Markdown

Adds “Every 3 days” and “Every week” to the account sync interval options, allowing less frequent automatic feed refreshes.

Changes:

  • Add interval values of 4,320 and 10,080 minutes.
  • Add their display strings and include both options in the existing selection list.
  • Preserve existing interval values and the default setting.

Tested on a physical device (Android, model A015): selected each new option, restarted the app, and confirmed in WorkManager that SyncWorker and WidgetUpdateWorker are scheduled at 259,200,000 ms (3 days) and 604,800,000 ms (1 week).

Note: as with the existing options, a new interval is applied when the app next starts (initSync()), not right after it's selected. This behavior existed before this change.

Fixes #1318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Additional less frequent sync options

1 participant