mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 21:36:42 +02:00
Attempting to parallelize update checks
This commit is contained in:
@ -65,11 +65,14 @@ class NotImplementedError extends ObtainiumError {
|
||||
}
|
||||
|
||||
class MultiAppMultiError extends ObtainiumError {
|
||||
Map<String, dynamic> rawErrors = {};
|
||||
Map<String, List<String>> content = {};
|
||||
|
||||
MultiAppMultiError() : super(tr('placeholder'), unexpected: true);
|
||||
|
||||
add(String appId, String string) {
|
||||
add(String appId, dynamic error) {
|
||||
rawErrors[appId] = error;
|
||||
var string = error.toString();
|
||||
var tempIds = content.remove(string);
|
||||
tempIds ??= [];
|
||||
tempIds.add(appId);
|
||||
|
Reference in New Issue
Block a user