Skip to content

Commit 8edcf5e

Browse files
Fix: QS card not refreshed if dashboard not showing
1 parent f98448e commit 8edcf5e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

WordPress/Classes/ViewRelated/Blog/Blog Dashboard/BlogDashboardViewController.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,8 @@ final class BlogDashboardViewController: UIViewController {
190190
viewModel.loadCards()
191191
}
192192

193-
/// Load card from cache if view is appearing
193+
/// Load card from cache
194194
@objc private func loadCardsFromCache() {
195-
guard view.superview != nil else {
196-
return
197-
}
198-
199195
viewModel.loadCardsFromCache()
200196
}
201197

0 commit comments

Comments
 (0)