From bf17bb0f0f0bd0b6c05a9d77075d86e821837367 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Thu, 5 Dec 2024 17:37:27 +0800 Subject: [PATCH] don't showBeta on cap logo --- apps/desktop/src-tauri/src/lib.rs | 2 +- .../app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx | 2 +- apps/web/components/Footer.tsx | 2 +- apps/web/components/Navbar.tsx | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index aeb64e6a..3f1cf50c 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -915,7 +915,7 @@ async fn get_video_metadata( fn open_editor(app: AppHandle, id: String) { println!("Opening editor for recording: {}", id); - if let Some(window) = app.get_webview_window("camera") { + if let Some(window) = CapWindowId::Camera.get(&app) { window.close().ok(); } diff --git a/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx b/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx index 25f7b30b..e1d7027c 100644 --- a/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx +++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx @@ -12,7 +12,7 @@ export const AdminDesktopNav = () => {
- +
diff --git a/apps/web/components/Footer.tsx b/apps/web/components/Footer.tsx index 5f4aabaf..f53cee1e 100644 --- a/apps/web/components/Footer.tsx +++ b/apps/web/components/Footer.tsx @@ -26,7 +26,7 @@ export const Footer = () => { >
- +

Cap is the open source alternative to Loom. Lightweight, diff --git a/apps/web/components/Navbar.tsx b/apps/web/components/Navbar.tsx index 41ecef18..e3247a0d 100644 --- a/apps/web/components/Navbar.tsx +++ b/apps/web/components/Navbar.tsx @@ -50,7 +50,6 @@ export const Navbar = ({ auth }: { auth: boolean }) => { @@ -198,7 +197,7 @@ export const Navbar = ({ auth }: { auth: boolean }) => {

- +