Skip to content

Commit

Permalink
Disable search spellcheck and version fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Oct 28, 2022
1 parent 23dc6db commit 5dbf894
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion interface/windows/codes/codes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
</svg>

<input on:keyup={search} class="search input w-96 pl-12 pr-12" type="text" />
<input on:keyup={search} spellcheck="false" class="search input w-96 pl-12 pr-12" type="text" />

<div class="relative right-9 top-0.5">
<SearchFilter />
Expand Down
7 changes: 5 additions & 2 deletions interface/windows/settings/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import build from "../../../build.json"
import { path, invoke, os, dialog, app, process } from "@tauri-apps/api"
import { path, invoke, os, dialog, app, process, clipboard } from "@tauri-apps/api"
import { UAParser } from "ua-parser-js"
import { navigate, open } from "../../utils/navigate"
import { deleteEncryptionKey } from "interface/utils/encryption"
Expand Down Expand Up @@ -28,7 +28,10 @@ export const about = async () => {
const memory = `${Math.round(parseInt(hardware[2]) / 1024 / 1024)}GB`
const osName = hardware[0]

dialog.message(`Authme: ${build.version} \n\nTauri: ${tauriVersion}\n${browserName}: ${browserVersion}\n\nOS version: ${osName} ${osArch} ${osVersion}\nHardware info: ${cpu}${memory} RAM\n\nRelease date: ${build.date}\nBuild number: ${build.number}\n\nCreated by: Lőrik Levente`)
const info = `Authme: ${build.version} \n\nTauri: ${tauriVersion}\n${browserName}: ${browserVersion}\n\nOS version: ${osName} ${osArch} ${osVersion}\nHardware info: ${cpu}${memory} RAM\n\nRelease date: ${build.date}\nBuild number: ${build.number}\n\nCreated by: Lőrik Levente`

dialog.message(info)
clipboard.writeText(info)
}

export const clearData = async () => {
Expand Down

0 comments on commit 5dbf894

Please sign in to comment.