Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
micielski committed Sep 6, 2024
1 parent 94c11fd commit 45f591e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rm-main/src/tui/tabs/torrents/task_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ use super::{
pub struct TaskManager {
ctx: app::Ctx,
current_task: CurrentTask,
// TODO:
// Put Default task in a seperate field and merge it with Status task
// and maybe with Selection task (or even Sort?).
// This way there won't be any edge cases in torrents/mod.rs anymore
// when dealing with TaskManager.
// Default task would keep the state info whether there are any tasks
// happening, whether the user is selecting torrents or is sorting them.
}

impl TaskManager {
Expand Down

0 comments on commit 45f591e

Please sign in to comment.