mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +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) {
|
public void enable(OptionalFile file, boolean manual, BiConsumer<OptionalFile, Boolean> callback) {
|
||||||
if(enabled.contains(file)) return;
|
if(enabled.contains(file)) return;
|
||||||
|
enabled.add(file);
|
||||||
if(callback != null) callback.accept(file, true);
|
if(callback != null) callback.accept(file, true);
|
||||||
OptionalFileInstallInfo installInfo = this.installInfo.get(file);
|
OptionalFileInstallInfo installInfo = this.installInfo.get(file);
|
||||||
if(installInfo == null) {
|
if(installInfo == null) {
|
||||||
|
|
Loading…
Reference in a new issue