Skip to content

Commit

Permalink
Remove assertion failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Momo Ozawa committed May 17, 2024
1 parent 1d6f34b commit 4612cd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class AppUpdatePresenter: AppUpdatePresenterProtocol {
guard let window = UIApplication.sharedIfAvailable()?.mainWindow,
let topViewController = window.topmostPresentedViewController,
!((topViewController as? UINavigationController)?.viewControllers.first is BlockingUpdateViewController) else {
wpAssertionFailure("Failed to show blocking update view")
// Don't show if the view is already being displayed
return
}
let viewModel = AppStoreInfoViewModel(appStoreInfo)
Expand Down

0 comments on commit 4612cd3

Please sign in to comment.