mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-16 11:48:09 +02:00
Removed outdated comment
This commit is contained in:
@@ -37,7 +37,6 @@ bgUpdateCheck(int? ignoreAfterMicroseconds) async {
|
|||||||
await appsProvider.checkUpdates(ignoreAfter: ignoreAfter);
|
await appsProvider.checkUpdates(ignoreAfter: ignoreAfter);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e is RateLimitError) {
|
if (e is RateLimitError) {
|
||||||
// Ignore these (scheduling another task as below does not work)
|
|
||||||
String nextTaskName =
|
String nextTaskName =
|
||||||
'$bgUpdateCheckTaskName-${nextIgnoreAfter.microsecondsSinceEpoch.toString()}';
|
'$bgUpdateCheckTaskName-${nextIgnoreAfter.microsecondsSinceEpoch.toString()}';
|
||||||
Workmanager().registerOneOffTask(nextTaskName, nextTaskName,
|
Workmanager().registerOneOffTask(nextTaskName, nextTaskName,
|
||||||
|
Reference in New Issue
Block a user