feat(ui): complete UI embed

This commit is contained in:
NoLogicAlan committed 2026-10-26 02:36:56 +03:00
1 parent e8171dce26
commit edcdd4ddef
15 files changed
+252 -52

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ export function parseBool(str) {
* @returns {string} Formatted display string.
*/
export function displayValue(key, value) {
if (BOOL_SETTINGS.has(key)) return value ? "\u2705 enabled" : "\u274c disabled";
if (BOOL_SETTINGS.has(key)) return value ? "✅ enabled" : "❌ disabled";
if (value === null || value === undefined || value === "none") return "none";
return "`" + value + "`";
}