use is_muted config, migrate old preference value

This commit is contained in:
adbenitez
2024-07-10 13:12:59 +02:00
parent 2f590871fe
commit 93a8e3bc0e
3 changed files with 10 additions and 10 deletions
@@ -237,11 +237,11 @@ public class DcContext {
}
public boolean isMuted() {
return getConfigInt("ui.muted") == 1;
return getConfigInt("is_muted") == 1;
}
public void setMuted(boolean muted) {
setConfigInt("ui.muted", muted? 1 : 0);
setConfigInt("is_muted", muted? 1 : 0);
}
/**