Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
fixing minor test issue for iOS 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Gero Herkenrath committed Apr 26, 2016
1 parent 21e941c commit a69763e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/Private/TRSCheckoutViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ - (void)processOrder:(nonnull TRSOrder *)order onCompletion:(nullable void (^)(B
return;
}

// ensure view is loaded
[self loadViewIfNeeded];
// ensure view is loaded (viewIfLoaded is iOS 9, so just use view)
[self view];
// if we still have strings/order data, we're called for the second time before finishing the first process, so fail
if (self.jsStrings) {
NSError *anotherError = [NSError errorWithDomain:TRSErrorDomain
Expand Down

0 comments on commit a69763e

Please sign in to comment.