Add tab tooltips

This commit is contained in:
Joseph Lyons
2023-04-15 06:46:14 -04:00
parent e655a6c767
commit ebe57254e0
10 changed files with 119 additions and 39 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
mod base_keymap_picker;
use std::sync::Arc;
use std::{borrow::Cow, sync::Arc};
use db::kvp::KEY_VALUE_STORE;
use gpui::{
@@ -198,6 +198,10 @@ impl WelcomePage {
}
impl Item for WelcomePage {
fn tab_tooltip_text<'a>(&'a self, _: &'a AppContext) -> Option<Cow<'a, str>> {
Some("Welcome to Zed!".into())
}
fn tab_content(
&self,
_detail: Option<usize>,