mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
Merge pull request #84 from Ghostlyr/patch-1
Регистронезависимый белый список
This commit is contained in:
commit
ed7a09d223
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public boolean isUpdateFastCheck() {
|
|||
@LauncherAPI
|
||||
public boolean isWhitelistContains(String username) {
|
||||
if (!useWhitelist.getValue()) return true;
|
||||
return whitelist.stream(StringConfigEntry.class).anyMatch(e -> e.equals(username));
|
||||
return whitelist.stream(StringConfigEntry.class).anyMatch(e -> e.equalsIgnoreCase(username));
|
||||
}
|
||||
|
||||
@LauncherAPI
|
||||
|
|
Loading…
Reference in a new issue