diff --git a/src/lib.rs b/src/lib.rs index a4c465f..1b0e435 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ pub struct Notification { body: String, } impl Notification { - fn new(category: NotificationCategory, title: String, body: String) -> Notification { + pub fn new(category: NotificationCategory, title: String, body: String) -> Notification { return Self { category: category, title: title,