improve headers when there are no untracked/changed file
Dependencies
- [2]
23SFYK4Qbig view refactor into a new crate - [3]
I2AG42PAnew cols layout - [4]
PTWZYQFRuse nav-scrollable for repo status - [5]
OJPGHVC3entire log! - [6]
N256FH74improve views - [7]
FU6P5QLGindicate when a file is a dir with appended '/' - [8]
TWULZ43Vimprove the changed files header - [9]
PKJCFSBMtheme improvements - [10]
LFEMJYYDstart of to_record selection - [11]
MYGIBRRHwip custom theme - [12]
7SSBM4UQview: refactor repo view
Change contents
- replacement in inflorescence_view/src/view.rs at line 166
},} - replacement in inflorescence_view/src/view.rs at line 412
let changed_files_header = el(text("Changed files:"));let changed_files_header = el(text(if changed_files.is_empty() {"No changed files"} else {"Changed files:"})); - replacement in inflorescence_view/src/view.rs at line 432
[el(container(el(text("Untracked files:"))).padding(Padding::ZERO.top(SPACING * 2)))][el(container(el(text(if untracked_files.is_empty() {"No untracked files"} else {"Untracked files:"}))).padding(Padding::ZERO.top(SPACING * 2)))]