зеркало из https://github.com/nextcloud/talk-ios.git
Simplify completionHandler in handleAppRefresh
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Родитель
ddaf76f385
Коммит
3fa0bcdd96
|
@ -361,8 +361,8 @@
|
|||
[self scheduleAppRefresh];
|
||||
|
||||
[self performBackgroundFetchWithCompletionHandler:^(BOOL errorOccurred) {
|
||||
[task setTaskCompletedWithSuccess:!errorOccurred];
|
||||
}];
|
||||
[task setTaskCompletedWithSuccess:!errorOccurred];
|
||||
}];
|
||||
}
|
||||
|
||||
// This method is called when you simulate a background fetch from the debug menu in XCode
|
||||
|
|
Загрузка…
Ссылка в новой задаче