summaryrefslogtreecommitdiffstats
path: root/ui/src/conf/notifications.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/conf/notifications.rs')
-rw-r--r--ui/src/conf/notifications.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/conf/notifications.rs b/ui/src/conf/notifications.rs
index beeac081..028d4fa9 100644
--- a/ui/src/conf/notifications.rs
+++ b/ui/src/conf/notifications.rs
@@ -20,7 +20,6 @@
*/
use super::default_vals::internal_value_false;
-use super::toggleflag_de;
fn none() -> Option<String> {
None
@@ -38,7 +37,7 @@ pub struct NotificationsSettings {
/// Default: None
#[serde(default = "none")]
pub xbiff_file_path: Option<String>,
- #[serde(deserialize_with = "toggleflag_de", default = "internal_value_false")]
+ #[serde(default = "internal_value_false")]
pub play_sound: super::ToggleFlag,
#[serde(default = "none")]
pub sound_file: Option<String>,