fix timer
This commit is contained in:
@@ -37,11 +37,11 @@ struct NotifyMessage {
|
||||
std::string body;
|
||||
std::vector<std::string> actions;
|
||||
NotificationUrgency urgency = NORMAL;
|
||||
int32_t expire_timeout;
|
||||
int32_t expire_timeout = -1;
|
||||
// Callback to invoke when an action is triggered
|
||||
std::function<void(const std::string &action_id)> on_action;
|
||||
// Guard to prevent multiple action invocations across mirrors
|
||||
std::shared_ptr<bool> actionInvoked;
|
||||
std::shared_ptr<bool> actionInvoked = std::make_shared<bool>(false);
|
||||
// image data (if any) from dbus
|
||||
std::optional<Glib::RefPtr<Gdk::Pixbuf>> imageData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user