Improve button copy on database load error toast (#17767)

Minimal copywriting improvement as that just happened to me while
working on Zed during ReactConf.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2024-09-12 14:17:59 -04:00 committed by GitHub
parent bba380e41a
commit 3b37db4140
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4644,7 +4644,7 @@ fn notify_if_database_failed(workspace: WindowHandle<Workspace>, cx: &mut AsyncA
|cx| {
cx.new_view(|_| {
MessageNotification::new("Failed to load the database file.")
.with_click_message("Click to let us know about this error")
.with_click_message("File an issue")
.on_click(|cx| cx.open_url(REPORT_ISSUE_URL))
})
},