mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Вернул проверки для unmarkOptional
This commit is contained in:
parent
c25e5a77aa
commit
73fc66da0f
1 changed files with 2 additions and 3 deletions
|
@ -266,14 +266,13 @@ public void unmarkOptional(OptionalFile file) {
|
|||
if (file.dependencies != null) {
|
||||
for (OptionalFile f : file.dependencies) {
|
||||
if (!f.mark) continue;
|
||||
unmarkOptional(f);
|
||||
/*if (f.dependenciesCount == null) {
|
||||
if (f.dependenciesCount == null) {
|
||||
unmarkOptional(f);
|
||||
} else if (f.dependenciesCount.size() <= 1) {
|
||||
f.dependenciesCount.clear();
|
||||
f.dependenciesCount = null;
|
||||
unmarkOptional(f);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue