From cfc7df5e2fa7b81394a999096671cc173ed2fbd1 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Mon, 29 Jan 2024 09:18:36 -0500 Subject: [PATCH] The view model can no longer be initialized without an app --- fitnesstrax/app/src/view_models/day_detail.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/fitnesstrax/app/src/view_models/day_detail.rs b/fitnesstrax/app/src/view_models/day_detail.rs index 7e17388..76aec5f 100644 --- a/fitnesstrax/app/src/view_models/day_detail.rs +++ b/fitnesstrax/app/src/view_models/day_detail.rs @@ -308,7 +308,6 @@ impl DayDetailViewModel { pub fn save(&self) { let s = self.clone(); - glib::spawn_future(async move { s.async_save().await }); }