Settings delta preview

This commit is contained in:
utkabobr
2025-04-03 20:08:33 +03:00
parent 462f0a4c55
commit 264e742d3a
2 changed files with 60 additions and 15 deletions
@@ -41,10 +41,18 @@ public class ConfigObject implements ProfileListFragment.ProfileListItem {
return get("nozzle_diameter") != null ? get("nozzle_diameter").replaceAll("[^.]+", "").length() : 1;
}
public boolean has(String key) {
return values.containsKey(key);
}
public String get(String key) {
return values.get(key);
}
public void remove(String key) {
values.remove(key);
}
public void put(String key, String value) {
values.put(key, value);
}