added pub
This commit is contained in:
@@ -27,7 +27,7 @@ pub struct Notification {
|
|||||||
body: String,
|
body: String,
|
||||||
}
|
}
|
||||||
impl Notification {
|
impl Notification {
|
||||||
fn new(category: NotificationCategory, title: String, body: String) -> Notification {
|
pub fn new(category: NotificationCategory, title: String, body: String) -> Notification {
|
||||||
return Self {
|
return Self {
|
||||||
category: category,
|
category: category,
|
||||||
title: title,
|
title: title,
|
||||||
|
|||||||
Reference in New Issue
Block a user