diff --git a/src/app_state.rs b/src/app_state.rs index 32055cb35..889d1232f 100644 --- a/src/app_state.rs +++ b/src/app_state.rs @@ -89,6 +89,7 @@ where gui, audio, prefs, + #[cfg(feature = "notify")] notif, hotkeys: RefCell::new(hotkeys), }; diff --git a/src/ui/prefs_dialog.rs b/src/ui/prefs_dialog.rs index ee4b313cb..3343326df 100644 --- a/src/ui/prefs_dialog.rs +++ b/src/ui/prefs_dialog.rs @@ -393,6 +393,7 @@ impl PrefsDialog { device_prefs, view_prefs, behavior_prefs, + #[cfg(feature = "notify")] notify_prefs, hotkey_prefs, };