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