aboutsummaryrefslogtreecommitdiff
path: root/src/app/app.rs
diff options
context:
space:
mode:
authorJoris2022-01-09 14:37:35 +0100
committerJoris2022-01-09 14:37:35 +0100
commitd0a9063631e71928484a698f6c585ebb3915e8a2 (patch)
tree9a5fc430684aea73877711dd3392b1845d4b9904 /src/app/app.rs
parent5166efe517291f5c9fc6326f30651ef799d6db65 (diff)
Allow to update events
Diffstat (limited to 'src/app/app.rs')
-rw-r--r--src/app/app.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/app.rs b/src/app/app.rs
index d93b544..b1ee395 100644
--- a/src/app/app.rs
+++ b/src/app/app.rs
@@ -12,6 +12,7 @@ use crate::app::update::Msg;
use crate::{db, model::event::Event};
pub struct App {
+ pub conn: Rc<Connection>,
pub window: Rc<gtk::ApplicationWindow>,
pub grid: gtk::Grid,
pub events: Vec<Event>,
@@ -48,6 +49,7 @@ impl App {
});
Self {
+ conn,
window,
grid,
events,