From c9bce58967b014dd4d518ba6124a355a9f1dd2f0 Mon Sep 17 00:00:00 2001 From: jane400 Date: Fri, 16 Aug 2024 19:49:44 +0200 Subject: [PATCH] hack: comment out lines until relm4 macro is fixed upstream pr: https://github.com/Relm4/Relm4/pull/677 --- paket/Cargo.toml | 6 +++--- paket/src/ready.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/paket/Cargo.toml b/paket/Cargo.toml index 91d7c93..d820655 100644 --- a/paket/Cargo.toml +++ b/paket/Cargo.toml @@ -6,9 +6,9 @@ license.workspace = true version.workspace = true [dependencies] -relm4 = { version = "0.9" , features = [ "libadwaita", "macros" ], path = "/home/jane400/sources/alpine/Relm4/relm4" } -relm4-components = { version = "0.9", path = "/home/jane400/sources/alpine/Relm4/relm4-components" } -relm4-macros = { version = "0.9", path = "/home/jane400/sources/alpine/Relm4/relm4-macros" } +relm4 = { version = "0.9" , features = [ "libadwaita", "macros" ] } +relm4-components = { version = "0.9" } +relm4-macros = { version = "0.9" } tracker = "0.2" adw = {package = "libadwaita", version = "0.7", features = [ "v1_5" ]} webkit = { package = "webkit6", version = "0.4" } diff --git a/paket/src/ready.rs b/paket/src/ready.rs index 071495c..6d30515 100644 --- a/paket/src/ready.rs +++ b/paket/src/ready.rs @@ -101,10 +101,10 @@ impl Component for Ready { page }, }, - } -> page_advices: adw::ViewStackPage { + } -> /*page_advices: adw::ViewStackPage*/ { set_title: Some("Mail notification"), - #[track(model.changed_have_service_advices())] - set_visible: model.have_service_advices, + /*#[track(model.changed_have_service_advices())] + set_visible: model.have_service_advices,*/ } } }