aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2024-05-03 00:54:12 +0100
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-05-03 00:47:11 +0000
commit6c9475cfb6243b25420335f472a54d614716e55b (patch)
treec7397da4553f42967e2b9a7e96605fe9b55463e0 /src/containers
parentfix: screenshare feature not working on Teams (#1733) (diff)
downloadferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.gz
ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.zst
ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.zip
feat: use favicons instead of icons
Diffstat (limited to 'src/containers')
-rw-r--r--src/containers/settings/EditServiceScreen.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/containers/settings/EditServiceScreen.tsx b/src/containers/settings/EditServiceScreen.tsx
index f3b9b0857..e890e8695 100644
--- a/src/containers/settings/EditServiceScreen.tsx
+++ b/src/containers/settings/EditServiceScreen.tsx
@@ -96,6 +96,10 @@ const messages = defineMessages({
96 id: 'settings.service.form.trapLinkClicks', 96 id: 'settings.service.form.trapLinkClicks',
97 defaultMessage: 'Open URLs within Ferdium', 97 defaultMessage: 'Open URLs within Ferdium',
98 }, 98 },
99 useFavicon: {
100 id: 'settings.service.form.useFavicon',
101 defaultMessage: 'Use service favicon instead of default or custom icon',
102 },
99 onlyShowFavoritesInUnreadCount: { 103 onlyShowFavoritesInUnreadCount: {
100 id: 'settings.service.form.onlyShowFavoritesInUnreadCount', 104 id: 'settings.service.form.onlyShowFavoritesInUnreadCount',
101 defaultMessage: 'Only show Favorites in unread count', 105 defaultMessage: 'Only show Favorites in unread count',
@@ -258,6 +262,15 @@ class EditServiceScreen extends Component<IProps> {
258 default: DEFAULT_SERVICE_SETTINGS.trapLinkClicks, 262 default: DEFAULT_SERVICE_SETTINGS.trapLinkClicks,
259 type: 'checkbox', 263 type: 'checkbox',
260 }, 264 },
265 useFavicon: {
266 label: intl.formatMessage(messages.useFavicon),
267 value: ifUndefined<boolean>(
268 service?.useFavicon,
269 DEFAULT_SERVICE_SETTINGS.useFavicon,
270 ),
271 default: DEFAULT_SERVICE_SETTINGS.useFavicon,
272 type: 'checkbox',
273 },
261 isMuted: { 274 isMuted: {
262 label: intl.formatMessage(messages.enableAudio), 275 label: intl.formatMessage(messages.enableAudio),
263 value: !ifUndefined<boolean>( 276 value: !ifUndefined<boolean>(