mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33: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) {
|
for (var line in hostsFileLines) {
|
||||||
if (line.contains("#StarCitizenToolBox")) {
|
if (line.contains("#StarCitizenToolBox")) {
|
||||||
for (var host in _hostsMap.entries) {
|
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[host.key] = 1;
|
||||||
workingMap.value = Map.from(workingMap.value);
|
workingMap.value = Map.from(workingMap.value);
|
||||||
checkedMap.value[host.key] = true;
|
checkedMap.value[host.key] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user