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:
1 parent
18ac4ac5ef
commit
4560d1ec58
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user