ui: Add Backspace/Delete icons and use them for keybindings.

This commit is contained in:
Piotr Osiewicz 2024-01-02 14:09:35 +01:00
parent f5b3e473fc
commit c6d9bc5a16
4 changed files with 19 additions and 12 deletions

View file

@ -32,6 +32,7 @@ pub enum Icon {
AtSign,
AudioOff,
AudioOn,
Backspace,
Bell,
BellOff,
BellRing,
@ -50,6 +51,7 @@ pub enum Icon {
CopilotError,
CopilotDisabled,
Dash,
Delete,
Disconnected,
Ellipsis,
Envelope,
@ -115,6 +117,7 @@ impl Icon {
Icon::AtSign => "icons/at-sign.svg",
Icon::AudioOff => "icons/speaker-off.svg",
Icon::AudioOn => "icons/speaker-loud.svg",
Icon::Backspace => "icons/backspace.svg",
Icon::Bell => "icons/bell.svg",
Icon::BellOff => "icons/bell-off.svg",
Icon::BellRing => "icons/bell-ring.svg",
@ -133,6 +136,7 @@ impl Icon {
Icon::CopilotError => "icons/copilot_error.svg",
Icon::CopilotDisabled => "icons/copilot_disabled.svg",
Icon::Dash => "icons/dash.svg",
Icon::Delete => "icons/delete.svg",
Icon::Disconnected => "icons/disconnected.svg",
Icon::Ellipsis => "icons/ellipsis.svg",
Icon::Envelope => "icons/feedback.svg",