From db05bdc76283050167222470a2bcfa0a3bc22df7 Mon Sep 17 00:00:00 2001 From: Farooq Karimi Zadeh Date: Sun, 8 Oct 2023 13:30:08 +0330 Subject: [PATCH] add video chat icons, draft --- CHANGELOG.md | 4 +++ src/renderer/components/Radio.tsx | 3 +++ .../dialogs/Settings-ExperimentalFeatures.tsx | 18 ++++++++++++- src/renderer/stores/blobstore.ts | 25 +++++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 src/renderer/stores/blobstore.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index dd8c90b810..89491f8e27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - fix clipboard not working in webxdc apps - fix `target=_blank` links in html emails don't work #3408 +### Added + + - add video chat instances favicons to selection dialog + ## [1.40.4] - 2023-09-14 diff --git a/src/renderer/components/Radio.tsx b/src/renderer/components/Radio.tsx index dcdd73b1b8..efd143f3ed 100644 --- a/src/renderer/components/Radio.tsx +++ b/src/renderer/components/Radio.tsx @@ -9,6 +9,7 @@ type RadioProps = { className?: string name?: string subtitle?: string + icon?: HTMLElement } export default function Radio({ @@ -19,6 +20,7 @@ export default function Radio({ className, name, subtitle, + icon, }: RadioProps) { const id: string = Math.floor(Math.random() * 10000).toString() return ( @@ -31,6 +33,7 @@ export default function Radio({ value={value} defaultChecked={Boolean(selected)} /> + { icon }