only show overall toggle if there is more than one changed file
Dependencies
- [2]
I2AG42PAnew cols layout - [3]
LFEMJYYDstart of to_record selection - [4]
2SLTGWP6add change files diffs to-record selection - [5]
OJPGHVC3entire log! - [6]
UR4J677Rnav for log changes and refactors - [7]
PTWZYQFRuse nav-scrollable for repo status - [*]
23SFYK4Qbig view refactor into a new crate
Change contents
- replacement in inflorescence_view/src/view.rs at line 412
let to_record_toggle = el(checkbox::three_way(to_record.overall).on_press_with(|| Msg::ToRecord(to_record::Msg::ToggleOverall)));// Only show overall toggle if there is more than one changed filelet to_record_toggle = if changed_files.len() > 1 {el(checkbox::three_way(to_record.overall).on_press_with(|| Msg::ToRecord(to_record::Msg::ToggleOverall)))} else {el(row([]))};