added pub

This commit is contained in:
thatscringebro 2025-05-02 15:58:47 -04:00
parent 164ddd94ee
commit 3af4b6526a

View File

@ -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,