From a48ae73dda83f266d3b1864b8d32cf3cf5873ab7 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Tue, 13 Dec 2022 11:37:51 +0800 Subject: [PATCH] NewArticleNotifications - Fixes wrapping - Reloads on Favicon availability --- .../NewArticleNotificationsView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iOS/Settings/Views/New Article Notifications/NewArticleNotificationsView.swift b/iOS/Settings/Views/New Article Notifications/NewArticleNotificationsView.swift index 9599222cb..23c71ad3e 100644 --- a/iOS/Settings/Views/New Article Notifications/NewArticleNotificationsView.swift +++ b/iOS/Settings/Views/New Article Notifications/NewArticleNotificationsView.swift @@ -28,6 +28,9 @@ struct NewArticleNotificationsView: View { .onReceive(NotificationCenter.default.publisher(for: .WebFeedIconDidBecomeAvailable)) { _ in activeAccounts = AccountManager.shared.sortedActiveAccounts } + .onReceive(NotificationCenter.default.publisher(for: .FaviconDidBecomeAvailable)) { _ in + activeAccounts = AccountManager.shared.sortedActiveAccounts + } } .tint(Color(uiColor: AppAssets.primaryAccentColor)) } @@ -45,6 +48,7 @@ struct NewArticleNotificationsView: View { .cornerRadius(4) Text(webfeed.nameForDisplay) + .fixedSize() Spacer() Toggle("", isOn: Binding( get: { webfeed.isNotifyAboutNewArticles ?? false },