bin: Adjust to state mutability on tick

This commit is contained in:
Erik Kundt
2024-06-04 17:45:52 +02:00
parent f51a671cc5
commit 80d5bbac53
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ pub enum Message {
impl store::State<Selection> for State {
type Message = Message;
fn tick(&self) {}
fn tick(&mut self) {}
fn update(&mut self, message: Message) -> Option<Exit<Selection>> {
match message {
+1 -1
View File
@@ -199,7 +199,7 @@ impl store::State<Selection> for State {
}
}
fn tick(&self) {}
fn tick(&mut self) {}
}
impl App {
+1 -1
View File
@@ -197,7 +197,7 @@ impl store::State<Selection> for State {
}
}
fn tick(&self) {}
fn tick(&mut self) {}
}
impl App {