Use a better message for the InvalidBufferView (#36770)
Follow-up of https://github.com/zed-industries/zed/pull/36764 Release Notes: - N/A
This commit is contained in:
parent
18ac4ac5ef
commit
4560d1ec58
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl Render for InvalidBufferView {
|
|||
v_flex()
|
||||
.justify_center()
|
||||
.gap_2()
|
||||
.child("Cannot display the file contents in Zed")
|
||||
.child(h_flex().justify_center().child("Unsupported file type"))
|
||||
.when(self.is_local, |contents| {
|
||||
contents.child(
|
||||
h_flex().justify_center().child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue