fix(dtmm): Fix the enabled checkbox in the mod list #67

Merged
lucas merged 1 commit from fix/enabled-checkbox into master 2023-03-14 20:40:22 +01:00

View file

@ -126,7 +126,7 @@ fn build_mod_list() -> impl Widget<State> {
},
|state, infos| {
infos.into_iter().for_each(|(i, new, _)| {
if Data::same(&state.mods.get(i).cloned(), &Some(new.clone())) {
if !Data::same(&state.mods.get(i).cloned(), &Some(new.clone())) {
state.mods.set(i, new);
}
});