mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] OptionalView
This commit is contained in:
parent
8ab1dda430
commit
abdbf5039d
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ public void disable(OptionalFile file) {
|
|||
|
||||
public void enable(OptionalFile file, boolean manual, BiConsumer<OptionalFile, Boolean> callback) {
|
||||
if(enabled.contains(file)) return;
|
||||
enabled.add(file);
|
||||
if(callback != null) callback.accept(file, true);
|
||||
OptionalFileInstallInfo installInfo = this.installInfo.get(file);
|
||||
if(installInfo == null) {
|
||||
|
|
Loading…
Reference in a new issue