Move disable_chat_feature to the UI section

This commit is contained in:
Benoit Martins 2025-10-29 16:38:04 +01:00
parent f8b7e3b319
commit 8cd322ff0e

View file

@ -273,10 +273,10 @@ class CorePreferences {
static var disableChatFeature: Bool {
get {
return Config.get().getBool(section: "app", key: "disable_chat_feature", defaultValue: false)
return Config.get().getBool(section: "ui", key: "disable_chat_feature", defaultValue: false)
}
set {
Config.get().setBool(section: "app", key: "disable_chat_feature", value: newValue)
Config.get().setBool(section: "ui", key: "disable_chat_feature", value: newValue)
}
}