fix parsing SSID

This commit is contained in:
Milos Kozak 2018-06-23 19:59:11 +02:00
parent fb94c93ba6
commit 0d48cc8770

View file

@ -122,7 +122,7 @@ class NsClientReceiverDelegate {
boolean newAllowedState = true;
if (ev.wifiConnected) {
if (!allowedSSIDs.trim().isEmpty() && !allowedSSIDs.contains(ev.ssid)) {
if (!allowedSSIDs.trim().isEmpty() && !allowedSSIDs.contains(ev.getSsid())) {
newAllowedState = false;
}
} else {