mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 07:03:05 +00:00
add missing semicolons
This commit is contained in:
parent
3f1a4b138c
commit
6d7579002d
1 changed files with 4 additions and 4 deletions
|
@ -177,10 +177,10 @@ async fn run() -> Result<()> {
|
|||
selected = status.song.map_or(0, |song| song.pos);
|
||||
} else if selected == len - 1 {
|
||||
if cfg.cycle {
|
||||
selected = 0
|
||||
selected = 0;
|
||||
}
|
||||
} else {
|
||||
selected += 1
|
||||
selected += 1;
|
||||
}
|
||||
liststate.select(Some(selected));
|
||||
tx.send(Command::UpdateFrame).await?;
|
||||
|
@ -191,10 +191,10 @@ async fn run() -> Result<()> {
|
|||
selected = status.song.map_or(0, |song| song.pos);
|
||||
} else if selected == 0 {
|
||||
if cfg.cycle {
|
||||
selected = len - 1
|
||||
selected = len - 1;
|
||||
}
|
||||
} else {
|
||||
selected -= 1
|
||||
selected -= 1;
|
||||
}
|
||||
liststate.select(Some(selected));
|
||||
tx.send(Command::UpdateFrame).await?;
|
||||
|
|
Loading…
Reference in a new issue