We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d578ddc + f087437 commit 14e0559Copy full SHA for 14e0559
WebAppWrapper/RootViewController.m
@@ -76,8 +76,8 @@ - (void)refresh
76
- (void)failRefresh
77
{
78
if (self.currentFailRefreshCount) {
79
- [self refresh];
80
self.currentFailRefreshCount--;
+ [self refresh];
81
} else {
82
[self showFailLoadWarning];
83
}
@@ -264,7 +264,9 @@ - (void)webViewDidFinishLoad:(UIWebView *)webView
264
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
265
266
if (webView == self.webView) {
267
- [self failRefresh];
+ if (error.code != NSURLErrorCancelled) {
268
+ [self failRefresh];
269
+ }
270
271
272
0 commit comments