added pub
This commit is contained in:
parent
164ddd94ee
commit
3af4b6526a
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user