Skip to content

Commit d4e3280

Browse files
fix access key for Schedule option in compose dialog.
1 parent 365f6aa commit d4e3280

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ui/dialogs/compose.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,9 @@ fn schedule_button_label(scheduled_at: Option<&str>) -> String {
680680
&& let Ok(dt) = DateTime::parse_from_rfc3339(iso)
681681
{
682682
let local = dt.with_timezone(&Local);
683-
return format!("Edit schedule, currently {}", local.format("%Y-%m-%d %H:%M"));
683+
return format!("Edit &schedule, currently {}", local.format("%Y-%m-%d %H:%M"));
684684
}
685-
"Schedule...".to_string()
685+
"&Schedule...".to_string()
686686
}
687687

688688
fn parse_schedule_inputs(date_value: &str, time_value: &str) -> Option<DateTime<Utc>> {
@@ -975,7 +975,7 @@ pub fn prompt_for_compose(
975975
let clear_schedule_button_clear = clear_schedule_button;
976976
clear_schedule_button.on_click(move |_| {
977977
*scheduled_state_clear.borrow_mut() = None;
978-
schedule_button_clear.set_label("Schedule...");
978+
schedule_button_clear.set_label("&Schedule...");
979979
clear_schedule_button_clear.enable(false);
980980
});
981981
}

0 commit comments

Comments
 (0)