mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 04:50:32 +00:00
fixed bug to see last episode of anime
This commit is contained in:
@@ -189,7 +189,7 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<(
|
|||||||
let link = anime_link(&app.title, 1);
|
let link = anime_link(&app.title, 1);
|
||||||
open_video(link);
|
open_video(link);
|
||||||
} else {
|
} else {
|
||||||
for ep in 1..ep_range {
|
for ep in 1..ep_range + 1 {
|
||||||
app.messages.push(format!("Episode {}", ep));
|
app.messages.push(format!("Episode {}", ep));
|
||||||
}
|
}
|
||||||
ep_select = true;
|
ep_select = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user