Skip to content

Commit d7992d3

Browse files
authored
Fix an issue with Reader Article screen not updating comments if the commented is posted from the inline section (#25483)
1 parent b21e2e8 commit d7992d3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
-----
33
* [*] All self-hosted sites now sign in using application passwords [#25424]
44
* [*] Stats: Add a confirmation dialog when marking referrers as spam [#25475]
5+
* [*] Reader: Fix an issue with Article screen not updating comments if comment is posted from inline section [#25483]
56
* [*] Reader: Fix button style [#25447]
67
* [*] Reader: Fix separator not visible in Dark Mode for comments [#25466]
78
* [*] Reader: Fix an issue with "Notificaton Settings" showing incorrect state right after subscribing [#25459]

WordPress/Classes/ViewRelated/Comments/Controllers/Create/CommentCreateViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ final class CommentCreateViewController: UIViewController {
6666
let text = await editorVC.text
6767
try await viewModel.save(content: text)
6868
UINotificationFeedbackGenerator().notificationOccurred(.success)
69+
NotificationCenter.default.post(name: .ReaderCommentModifiedNotification, object: nil)
6970
presentingViewController?.dismiss(animated: true)
7071
} catch {
7172
setLoading(false)

0 commit comments

Comments
 (0)