mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): Background app refresh status (#1839)
* adds background app refresh message * fixes ios background settings provider * styling * capitalization * changed to watch * uses settings notifier now * forgot to commit this file * changed to watch and added more clarification --------- Co-authored-by: Marty Fuhry <marty@fuhry.farm>
This commit is contained in:
parent
8bcb2558b6
commit
2b988e1d5d
7 changed files with 245 additions and 83 deletions
|
|
@ -574,6 +574,10 @@ class BackgroundService {
|
|||
Future<int> getIOSBackupNumberOfProcesses() async {
|
||||
return await _foregroundChannel.invokeMethod('numberOfBackgroundProcesses');
|
||||
}
|
||||
|
||||
Future<bool> getIOSBackgroundAppRefreshEnabled() async {
|
||||
return await _foregroundChannel.invokeMethod('backgroundAppRefreshEnabled');
|
||||
}
|
||||
}
|
||||
|
||||
enum IosBackgroundTask { fetch, processing }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue