diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 6ab64130..772252e2 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -23,11 +23,6 @@ use std::time::Duration; fn build_and_run_app(app: AppState) { tauri::Builder::default() - .plugin(tauri_plugin_log::Builder::new().build()) - .plugin(tauri_plugin_autostart::init()) - .plugin(tauri_plugin_store::Builder::new().build()) - .plugin(tauri_plugin_os::init()) - .plugin(tauri_plugin_updater::Builder::new().build()) .setup(|app| { let handle = app.handle().clone(); let state = AppState::new(); diff --git a/src/layout/components/header.tsx b/src/layout/components/header.tsx index 0acc9e95..5c2ecc79 100644 --- a/src/layout/components/header.tsx +++ b/src/layout/components/header.tsx @@ -1,11 +1,12 @@ -import React from "react"; +import React from 'react'; -import { Badge, Group, Header as MantineHeader } from "@mantine/core"; -import { getVersion } from "@tauri-apps/api/app"; +import usePlatform from '@/hooks/usePlatform'; +import { Badge, Group, Header as MantineHeader } from '@mantine/core'; +import { getVersion } from '@tauri-apps/api/app'; -import NavigationHistory from "./navigation-history"; -import usePlatform from "@/hooks/usePlatform"; +import NavigationHistory from './navigation-history'; +//TODO: Fix navigation history const Header = () => { const { appHeader } = usePlatform(); const [version, setVersion] = React.useState(""); @@ -21,8 +22,9 @@ const Header = () => { style={{ backgroundColor: "transparent", backdropFilter: "blur(15px)", WebkitBackdropFilter: "blur(15px)" }} onMouseDown={onClick} > - - + + {/* */} +
Pachtop {version && `v${version}`}