chore!: Remove unused notification setters

Since the creation of notifications has moved entirely to lua these
setters were not being used anymore.
This commit is contained in:
2025-09-10 02:56:56 +02:00
parent 5271e5ad81
commit f0e4c9dd21

View File

@@ -71,31 +71,6 @@ impl Notification {
}
}
pub fn set_title(mut self, title: &str) -> Self {
self.title = Some(title.into());
self
}
pub fn set_message(mut self, message: &str) -> Self {
self.message = Some(message.into());
self
}
pub fn add_tag(mut self, tag: &str) -> Self {
self.tags.push(tag.into());
self
}
pub fn set_priority(mut self, priority: Priority) -> Self {
self.priority = Some(priority);
self
}
pub fn add_action(mut self, action: Action) -> Self {
self.actions.push(action);
self
}
fn finalize(self, topic: &str) -> NotificationFinal {
NotificationFinal {
topic: topic.into(),