Skip to content

Commit 078fcff

Browse files
authored
Fix an issue Social Sharing placeholder card showing unsupported services (#25336)
1 parent a93e9b7 commit 078fcff

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
26.8
22
-----
3+
* [*] Fix an issue Social Sharing placeholder card showing unsupported services [#25336]
34

45

56
26.7

WordPress/Classes/ViewRelated/Post/PostSettings/PostSettingsViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ final class PostSettingsViewModel: NSObject, ObservableObject {
729729

730730
private func getPublicizeServices() -> [PublicizeService] {
731731
let context = ContextManager.shared.mainContext
732-
return (try? PublicizeService.allPublicizeServices(in: context)) ?? []
732+
return (try? PublicizeService.allSupportedServices(in: context)) ?? []
733733
}
734734

735735
/// Convenience variable representing whether the No Connection view has been dismissed.

0 commit comments

Comments
 (0)