Home hint said 'Ctrl K Find user' but Ctrl+K opens the jump menu
Browse files at this commit2d45643b99204ae93f97620edf3a6600eb4d5d7dParent: f9f0188- fix
- home hint said 'Ctrl K Find user' but Ctrl+K opens the jump menu
- now 'Ctrl K Where to?'
2 changed files +4 -4
crates/client/src/gui.rsmodified+1 -1
| @@ -202,7 +202,7 @@ pub fn sync_theme(cx: &mut App) { | ||
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | const FIND_KEY: &str = "ctrl-k"; |
| 205 | -pub const FIND_HINT: &str = "Ctrl K"; | |
| 205 | +pub const JUMP_HINT: &str = "Ctrl K"; | |
| 206 | 206 | |
| 207 | 207 | pub fn badge(palette: Palette, id: Id, name: &str, size: Pixels, font: Rems) -> Div { |
| 208 | 208 | let initial = name |
crates/client/src/gui/chat.rsmodified+3 -3
| @@ -14,7 +14,7 @@ use crate::gui::social::InviteLookup; | ||
| 14 | 14 | use crate::gui::voice_stats::{self, SAMPLE_HISTORY}; |
| 15 | 15 | use crate::gui::wave::Waves; |
| 16 | 16 | use crate::gui::{ |
| 17 | - FIND_HINT, Palette, Tooltip as _, Yumush, avatar, | |
| 17 | + JUMP_HINT, Palette, Tooltip as _, Yumush, avatar, | |
| 18 | 18 | builder::{BuilderTab, Transfer}, |
| 19 | 19 | clickable, community_name, |
| 20 | 20 | community_settings::{BanSort, LogSort}, |
| @@ -1335,9 +1335,9 @@ fn empty_state(palette: Palette) -> impl IntoElement { | ||
| 1335 | 1335 | .border_1() |
| 1336 | 1336 | .border_color(palette.border) |
| 1337 | 1337 | .text_size(text(text::CAPTION)) |
| 1338 | - .child(FIND_HINT), | |
| 1338 | + .child(JUMP_HINT), | |
| 1339 | 1339 | ) |
| 1340 | - .child(w().chat.find_user) | |
| 1340 | + .child(w().jump.placeholder) | |
| 1341 | 1341 | } |
| 1342 | 1342 | |
| 1343 | 1343 | pub(super) fn create_community( |