mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
use is_muted config, migrate old preference value
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user