Fixed a SyncStatus inconsistency
This commit is contained in:
parent
841d14807b
commit
3d9adcec08
6 changed files with 90 additions and 29 deletions
|
@ -106,9 +106,10 @@ pub fn print_task(item: &Item) {
|
|||
status += " ";
|
||||
}
|
||||
match task.sync_status() {
|
||||
SyncStatus::NotSynced => { status += " "; },
|
||||
SyncStatus::Synced(_) => { status += "="; },
|
||||
SyncStatus::LocallyModified(_) => { status += "~"; },
|
||||
SyncStatus::LocallyDeleted(_) => { status += "x"; },
|
||||
_ => (),
|
||||
}
|
||||
println!(" {} {}\t{}", status, task.name(), task.id());
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue