fix uidev build

This commit is contained in:
Aleksander 2025-12-29 21:51:26 +01:00
parent 9425db9ae4
commit b91ec99782
1 changed files with 7 additions and 4 deletions

View File

@ -53,7 +53,7 @@ impl settings::SettingsIO for SimpleSettingsIO {
}
pub struct TestbedDashboard {
frontend: frontend::Frontend,
frontend: frontend::Frontend<()>,
}
impl TestbedDashboard {
@ -71,9 +71,12 @@ impl TestbedDashboard {
impl Testbed for TestbedDashboard {
fn update(&mut self, params: TestbedUpdateParams) -> anyhow::Result<()> {
self
.frontend
.update(params.width, params.height, params.timestep_alpha)
self.frontend.update(
&mut (), /* nothing */
params.width,
params.height,
params.timestep_alpha,
)
}
fn layout(&mut self) -> &mut Layout {