mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
Регистронезависимый белый список
This commit is contained in:
parent
e42a88ded9
commit
a1d7fdb2d4
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public boolean isUpdateFastCheck() {
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
public boolean isWhitelistContains(String username) {
|
public boolean isWhitelistContains(String username) {
|
||||||
if (!useWhitelist.getValue()) return true;
|
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
|
@LauncherAPI
|
||||||
|
|
Loading…
Reference in a new issue