support more browsers

This commit is contained in:
Julian Freeman
2026-04-16 21:47:00 -04:00
parent ca649f700f
commit 83f762435b
5 changed files with 55 additions and 2 deletions

View File

@@ -229,6 +229,9 @@ export function useBrowserManager() {
if (iconKey === "chrome") return "CH";
if (iconKey === "edge") return "ED";
if (iconKey === "brave") return "BR";
if (iconKey === "vivaldi") return "VI";
if (iconKey === "yandex") return "YA";
if (iconKey === "chromium") return "CR";
const name = current?.browserName?.trim() ?? "";
if (name) {
@@ -248,6 +251,9 @@ export function useBrowserManager() {
if (iconKey === "chrome") return "CH";
if (iconKey === "edge") return "ED";
if (iconKey === "brave") return "BR";
if (iconKey === "vivaldi") return "VI";
if (iconKey === "yandex") return "YA";
if (iconKey === "chromium") return "CR";
const letters = config.name
.trim()