The view model can no longer be initialized without an app
This commit is contained in:
parent
9fc9d2b758
commit
cfc7df5e2f
|
@ -308,7 +308,6 @@ impl DayDetailViewModel {
|
|||
|
||||
pub fn save(&self) {
|
||||
let s = self.clone();
|
||||
|
||||
glib::spawn_future(async move { s.async_save().await });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue