-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Feat: Add manual check and work info display to Notification Settings
This commit introduces a new manual check functionality and displays work info in the Notification Settings. - A new "Check Now" button is added to the Notification Settings screen, allowing users to manually trigger an update check for all sources. - The screen now displays the status, source name, and progress of the scheduled and manual update checks using `LinearWavyProgressIndicator`. - The work info display is achieved by collecting `WorkInfo` objects and displaying their relevant information. - The "Reset Notifications" button now also prunes completed work items. - The `OtakuApp.updateSetup` function is modified to use `workDataOf` for input data and adjusted for potential errors. - Updates the shortcut setup to use more idiomatic Kotlin functions.
- Loading branch information
jacobrein
committed
Nov 20, 2024
1 parent
e83389e
commit d19dcda
Showing
3 changed files
with
128 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters