no message

This commit is contained in:
2025-01-13 22:43:00 +03:00
parent 3decbe5212
commit 63112eed7b

View File

@@ -262,26 +262,6 @@ public class GlobalProperties {
}
}
//-----------------
public boolean getFlag(String fieldName) {
boolean field = false;
try {
field = (boolean) getClass().getField(fieldName).get(this);
//
} catch (Exception ex) {
ex.printStackTrace();
}
return field;
}
public void switchFlag(String fieldName) {
boolean field = false;
try {
field = (boolean) getClass().getField(fieldName).get(this);
getClass().getField(fieldName).set(this, !field);
//
} catch (Exception ex) {
ex.printStackTrace();
}
}
public void Update() {
try {
Utils_.jsonToFile(this, getFile());