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:
Kirill Bulatov
2025-08-22 20:09:37 +00:00
committed by GitHub
parent 18ac4ac5ef
commit 4560d1ec58
+1 -1
View File
@@ -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(