some clear-ups

This commit is contained in:
Oleh Polisan 2024-06-23 12:20:17 +03:00
parent bb2e49515d
commit 842f9b7058
2 changed files with 2 additions and 2 deletions

View file

@ -535,7 +535,7 @@ export function getAccentColor() {
const hexColor = `#${toHex(r255)}${toHex(g255)}${toHex(b255)}`;
return hexColor;
}
return undefined;
return "";
} else {
return `#${systemPreferences.getAccentColor?.() || ""}`;
}

View file

@ -48,7 +48,7 @@ async function changeIcon(iconName, settings) {
return;
case "invalid":
Toasts.show({
message: "Please select a valid .png or .jpg image!",
message: "Please select a valid .png, .jpg or .svg image!",
id: Toasts.genId(),
type: Toasts.Type.FAILURE
});