Fix broke logix

This commit is contained in:
Luke D. Jones
2024-04-18 13:58:25 +12:00
parent 903b978e86
commit 28d1ed6ab3
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ pub fn start_notifications(config: Arc<Mutex<Config>>) -> Result<()> {
if status != GfxPower::Unknown && status != last_status {
if let Ok(config) = enabled_notifications_copy.lock() {
if !config.notifications.receive_notify_gfx_status
&& !config.notifications.enabled
|| !config.notifications.enabled
{
continue;
}