mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Firefox Fix: change host to match Firefox iOS app change
This commit is contained in:
parent
d1e9571093
commit
7e63347ba9
1 changed files with 1 additions and 1 deletions
|
@ -1710,7 +1710,7 @@
|
||||||
return;
|
return;
|
||||||
} else if ([storyBrowser isEqualToString:@"firefox"]) {
|
} else if ([storyBrowser isEqualToString:@"firefox"]) {
|
||||||
NSString *encodedURL = [url.absoluteString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
|
NSString *encodedURL = [url.absoluteString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
|
||||||
NSString *firefoxURL = [NSString stringWithFormat:@"%@%@", @"firefox://?url=", encodedURL];
|
NSString *firefoxURL = [NSString stringWithFormat:@"%@%@", @"firefox://open-url?url=", encodedURL];
|
||||||
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:firefoxURL] options:@{} completionHandler:nil];
|
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:firefoxURL] options:@{} completionHandler:nil];
|
||||||
} else if ([storyBrowser isEqualToString:@"inappsafari"]) {
|
} else if ([storyBrowser isEqualToString:@"inappsafari"]) {
|
||||||
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url
|
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url
|
||||||
|
|
Loading…
Add table
Reference in a new issue