Add buttons on shell notification
This commit is contained in:
@ -288,6 +288,7 @@ impl From<Status> for u8 {
|
||||
pub struct Notification {
|
||||
pub title: String,
|
||||
pub body: String,
|
||||
pub actions: Vec<Action>,
|
||||
}
|
||||
|
||||
pub trait NotificationProxy: Sync + Send {
|
||||
|
||||
@ -97,6 +97,7 @@ impl output_channel::Server for NotifyForwarder {
|
||||
.map(|x| x.as_str())
|
||||
.unwrap_or("")
|
||||
.to_string(),
|
||||
actions: msg.actions,
|
||||
};
|
||||
|
||||
info!("Showing notification");
|
||||
|
||||
Reference in New Issue
Block a user