Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

nitpick

Ilya5e3705249e5f
diff --git a/apps/desktop-gpui/src/store.rs b/apps/desktop-gpui/src/store.rs
index 173688f14..f026288f4 100644
--- a/apps/desktop-gpui/src/store.rs
+++ b/apps/desktop-gpui/src/store.rs
@@ -846,7 +846,6 @@ settings_enum! {
}
settings_enum! {
- /// How Cap reacts to an available update.
UpdateDownloadPolicy {
Manual = "manual", "Manual";
Auto = "auto", "Auto";
diff --git a/apps/desktop-gpui/src/tray.rs b/apps/desktop-gpui/src/tray.rs
index 132f4ff6c..57e585586 100644
--- a/apps/desktop-gpui/src/tray.rs
+++ b/apps/desktop-gpui/src/tray.rs
@@ -214,7 +214,6 @@ fn menu_icon(name: &str) -> Option<Vec<u8>> {
ICONS.get(name).cloned()
}
-/// The Cap icon for a mode, rasterised for the picker's image views.
fn mode_picker_icon(mode: Mode) -> Option<Vec<u8>> {
let source = match mode {
Mode::Instant => include_bytes!("../assets/icons/instant.svg") as &[u8],
@@ -260,7 +259,6 @@ impl Entry {
}
}
- /// An enabled row carrying one of the [`ROW_ICON_SOURCES`] glyphs.
fn icon_item(title: impl Into<String>, item: TrayItem, icon: &str) -> Self {
Self::Item {
title: title.into(),