diff --git a/app.vue b/app.vue index 6b9f531..14363d4 100644 --- a/app.vue +++ b/app.vue @@ -64,6 +64,8 @@ onMounted(async () => { --accent: #feb453; --border: #ffffff0d; + --red: #F84E4E; + --text: #e5dfd5; --text-secondary: #ada9a1; --text-muted: #78756f; diff --git a/pages/settings.vue b/pages/settings.vue index f291861..d982118 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -81,7 +81,7 @@ import { KeyValues, KeyLabels } from "../types/keys"; import { disable, enable } from "@tauri-apps/plugin-autostart"; import { useNuxtApp } from "#app"; import BottomBar from "../components/BottomBar.vue"; -import IconsEnter from "~/components/Icons/Enter.vue"; +import IconsEnter from "~/components/Keys/Enter.vue"; const activeModifiers = reactive>(new Set()); const isKeybindInputFocused = ref(false); diff --git a/src-tauri/src/db/history.rs b/src-tauri/src/db/history.rs index 4f70310..bc0ab87 100644 --- a/src-tauri/src/db/history.rs +++ b/src-tauri/src/db/history.rs @@ -71,8 +71,12 @@ pub async fn add_history_item( Some(_) => { sqlx ::query( - "UPDATE history SET timestamp = strftime('%Y-%m-%dT%H:%M:%f+00:00', 'now') WHERE content = ? AND content_type = ?" + "UPDATE history SET source = ?, source_icon = ?, timestamp = strftime('%Y-%m-%dT%H:%M:%f+00:00', 'now'), favicon = ?, language = ? WHERE content = ? AND content_type = ?" ) + .bind(&source) + .bind(&source_icon) + .bind(&favicon) + .bind(&language) .bind(&content) .bind(&content_type) .execute(&*pool).await