Skip to content

Commit

Permalink
fix: remove useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
pklatka committed Apr 26, 2024
1 parent 3084415 commit 1610bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/turbo/ios/RNVisitableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ class RNVisitableView: UIView, RNSessionSubscriber {
}

private func visit() {
if (controller?.visitableURL?.absoluteString == url as String || session == nil) {
if (controller?.visitableURL?.absoluteString == url as String) {
return
}
controller!.visitableURL = URL(string: String(url))
session!.visit(controller!)
session?.visit(controller!)
}

public func didProposeVisit(proposal: VisitProposal){
Expand Down

0 comments on commit 1610bf0

Please sign in to comment.