git: Fix placeholder dots in untracked files (#26537)
This regressed at some point. Release Notes: - N/A
This commit is contained in:
parent
6bcfc4014b
commit
d94001f445
1 changed files with 5 additions and 1 deletions
|
@ -3634,7 +3634,11 @@ impl GitPanel {
|
|||
Checkbox::new(checkbox_id, is_staged)
|
||||
.disabled(!has_write_access)
|
||||
.fill()
|
||||
.placeholder(!self.has_staged_changes() && !self.has_conflicts())
|
||||
.placeholder(
|
||||
!self.has_staged_changes()
|
||||
&& !self.has_conflicts()
|
||||
&& !entry.status.is_created(),
|
||||
)
|
||||
.elevation(ElevationIndex::Surface)
|
||||
.on_click({
|
||||
let entry = entry.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue