Netflex 0.1.2: new screens, and an ARM build for the Raspberry Pi
Some checks failed
release / release (push) Failing after 18m38s
Some checks failed
release / release (push) Failing after 18m38s
- Pages from the web app: search, my list, anime hub and anime details, settings; the home and detail screens moved under src/screens on the shared page model (src/page.rs, ui/page.slint). - package.sh --arm cross-compiles support.bluefox.netflex-<version>-aarch64.tar.zst, which Fennec OS on ARM installs (docs/store.md). The release CI builds both: the GStreamer dev packages of amd64 and arm64 can't be installed together, so it swaps them between the two builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,6 +60,10 @@ impl Home {
|
||||
s.spotlight = spotlight(&d.rows);
|
||||
s.index = s.index.min(s.spotlight.len().saturating_sub(1));
|
||||
}
|
||||
// The spotlight's picture also shows under the menu.
|
||||
if s.hero_focused {
|
||||
s.focus(cx, "hero", "");
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -217,12 +221,12 @@ impl Screen for Home {
|
||||
if t.kind == MediaType::Movie {
|
||||
cx.play(player::Request::title(t.kind, &t.id, t.title.clone(), None, t.backdrop.clone()));
|
||||
} else {
|
||||
cx.push(Box::new(screens::detail::Detail::new(t.kind, &t.id, Some(t))));
|
||||
cx.push(Box::new(screens::detail::Detail::new(t.kind, &t.id.clone(), Some(t.clone()))));
|
||||
}
|
||||
}
|
||||
("hero", "info") => {
|
||||
if let Some(t) = self.current().cloned() {
|
||||
cx.push(Box::new(screens::detail::Detail::new(t.kind, &t.id, Some(t))));
|
||||
cx.push(Box::new(screens::detail::Detail::new(t.kind, &t.id.clone(), Some(t.clone()))));
|
||||
}
|
||||
}
|
||||
("hero", "list") => {
|
||||
|
||||
Reference in New Issue
Block a user