Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
65 lines
2.0 KiB
Diff
65 lines
2.0 KiB
Diff
diff --git a/src/main.rs b/src/main.rs
|
|
index a0e8f2e..b6ff8dc 100644
|
|
--- a/src/main.rs
|
|
+++ b/src/main.rs
|
|
@@ -221,7 +221,7 @@ impl Application for App {
|
|
}
|
|
}
|
|
|
|
- page::Message::Location(message) => {
|
|
+ /* page::Message::Location(message) => {
|
|
if let Some(page) =
|
|
self.pages.get_mut(&TypeId::of::<page::location::Page>())
|
|
{
|
|
@@ -233,7 +233,7 @@ impl Application for App {
|
|
.map(Message::PageMessage)
|
|
.map(cosmic::Action::App);
|
|
}
|
|
- }
|
|
+ } */
|
|
|
|
page::Message::User(message) => {
|
|
if let Some(page) = self.pages.get_mut(&TypeId::of::<page::user::Page>()) {
|
|
diff --git a/src/page/mod.rs b/src/page/mod.rs
|
|
index 389728c..38ced5e 100644
|
|
--- a/src/page/mod.rs
|
|
+++ b/src/page/mod.rs
|
|
@@ -7,7 +7,7 @@ pub mod keyboard;
|
|
pub mod language;
|
|
pub mod launcher;
|
|
pub mod layout;
|
|
-pub mod location;
|
|
+// pub mod location;
|
|
pub mod new_apps;
|
|
pub mod new_shortcuts;
|
|
pub mod user;
|
|
@@ -48,10 +48,10 @@ pub fn pages(mode: AppMode) -> IndexMap<TypeId, Box<dyn Page>> {
|
|
pages.insert(TypeId::of::<user::Page>(), Box::new(user::Page::default()));
|
|
}
|
|
|
|
- pages.insert(
|
|
+ /* pages.insert(
|
|
TypeId::of::<location::Page>(),
|
|
Box::new(location::Page::new()),
|
|
- );
|
|
+ ); */
|
|
}
|
|
|
|
pages.insert(
|
|
@@ -97,7 +97,7 @@ pub enum Message {
|
|
Keyboard(keyboard::Message),
|
|
Language(language::Message),
|
|
Layout(layout::Message),
|
|
- Location(location::Message),
|
|
+ // Location(location::Message),
|
|
SetTheme(cosmic::Theme),
|
|
User(user::Message),
|
|
Welcome(welcome::Message),
|
|
@@ -150,4 +150,4 @@ pub trait Page {
|
|
fn view(&self) -> Element<'_, Message> {
|
|
widget::text::body("TODO").into()
|
|
}
|
|
-}
|
|
+}
|
|
\ No newline at end of file
|