mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-04 02:40:59 +08:00
bin: Adjust to state mutability on tick
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -199,7 +199,7 @@ impl store::State<Selection> for State {
|
||||
}
|
||||
}
|
||||
|
||||
fn tick(&self) {}
|
||||
fn tick(&mut self) {}
|
||||
}
|
||||
|
||||
impl App {
|
||||
|
||||
@@ -197,7 +197,7 @@ impl store::State<Selection> for State {
|
||||
}
|
||||
}
|
||||
|
||||
fn tick(&self) {}
|
||||
fn tick(&mut self) {}
|
||||
}
|
||||
|
||||
impl App {
|
||||
|
||||
Reference in New Issue
Block a user