mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-22 18:43:43 +08:00
fix:HostsBoosterDialogUI _readHostsState
This commit is contained in:
parent
6c0f30778f
commit
3c174dcb49
@ -277,7 +277,7 @@ class HostsBoosterDialogUI extends HookConsumerWidget {
|
||||
for (var line in hostsFileLines) {
|
||||
if (line.contains("#StarCitizenToolBox")) {
|
||||
for (var host in _hostsMap.entries) {
|
||||
if (line.contains(host.value.first)) {
|
||||
if (line.contains(" ${host.value.first}")) {
|
||||
workingMap.value[host.key] = 1;
|
||||
workingMap.value = Map.from(workingMap.value);
|
||||
checkedMap.value[host.key] = true;
|
||||
|
Loading…
Reference in New Issue
Block a user