From 5f23d5506698081722eef6e34f11c7fb24e0b212 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Wed, 25 Sep 2024 15:22:14 +0200 Subject: fix no notifications --- src/backup.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backup.rs') diff --git a/src/backup.rs b/src/backup.rs index b468917..c0621fc 100644 --- a/src/backup.rs +++ b/src/backup.rs @@ -13,7 +13,7 @@ use crate::{ config::Config, error::{Error, Result}, packages::PackageList, - pathinfo::PathInfo, send_notification, + pathinfo::PathInfo, send_notification, Urgency, }; pub type Id = String; @@ -62,7 +62,7 @@ impl Backup { path.save(&backup_root)?; } - send_notification("Backup created" , "", notify_rust::Urgency::Normal)?; + send_notification("Backup created" , "", Urgency::Normal)?; Ok(()) } @@ -126,7 +126,7 @@ impl Backup { path.restore(config, &backup_root)?; } - send_notification("Backup restored" , "", notify_rust::Urgency::Normal)?; + send_notification("Backup restored" , "", Urgency::Normal)?; Ok(()) } -- cgit v1.2.3