From f9e8d0ce9cb50f1348bcdf0a72dca7cfcfd3e544 Mon Sep 17 00:00:00 2001 From: Tobias Merkle Date: Thu, 30 May 2024 17:03:24 -0400 Subject: [PATCH] more style --- kinode/packages/app_store/app_store/src/lib.rs | 3 ++- kinode/packages/kino_updates/widget/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kinode/packages/app_store/app_store/src/lib.rs b/kinode/packages/app_store/app_store/src/lib.rs index fe797c4e..b1e23dd9 100644 --- a/kinode/packages/app_store/app_store/src/lib.rs +++ b/kinode/packages/app_store/app_store/src/lib.rs @@ -157,10 +157,11 @@ fn get_widget() -> String { a.href = `/main:app_store:sys/app-details/${app.package}:${app.publisher}` a.target = '_blank'; a.rel = 'noopener noreferrer'; + const iconLetter = app.metadata_hash.replace('0x', '')[0].toUpperCase(); a.innerHTML = `