Skip to content

Commit

Permalink
Merge branch 'av/fix/VPNAPPL-2109-ios-statusvc-not-refreshing' into '…
Browse files Browse the repository at this point in the history
…develop'

Merge-Request: apple/vpn/protonvpn!1601
Approved-by: Pawel Jurczyk <[email protected]>
  • Loading branch information
McNight committed Feb 14, 2024
2 parents 23fae8c + 399bf57 commit e3e4047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class StatusViewController: UIViewController {
viewModel?.messageHandler = { [weak self] text, type, options in
self?.showMessage(text, type: type, options: options)
}
viewModel?.contentChanged = { [weak self] in
viewModel?.contentChanged = { [weak self] in
self?.updateTableView()
self?.tableView?.reloadData()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ class StatusViewModel {
]
let connectionChangedTokens = NotificationCenter.default.addObservers(for: notificationNames, object: nil) { [weak self] notification in
self?.stateChanged(notification: notification)
self?.connectionChanged(notification: notification)
}

let netShieldToken = NotificationCenter.default.addObserver(for: NetShieldStatsNotification.self, object: nil) { [weak self] stats in
Expand Down

0 comments on commit e3e4047

Please sign in to comment.