mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing intelligence trainer when training in folder.
This commit is contained in:
parent
d937caaa52
commit
a680e42e43
1 changed files with 1 additions and 8 deletions
|
@ -525,14 +525,7 @@ shouldStartLoadWithRequest:(NSURLRequest *)request
|
|||
NSURL *url = [request URL];
|
||||
NSArray *urlComponents = [url pathComponents];
|
||||
NSString *action = @"";
|
||||
NSString *feedId;
|
||||
if (appDelegate.storiesCollection.isSocialView || appDelegate.storiesCollection.isSocialRiverView) {
|
||||
feedId = [NSString stringWithFormat:@"%@", [appDelegate.activeStory
|
||||
objectForKey:@"story_feed_id"]];
|
||||
} else {
|
||||
feedId = [NSString stringWithFormat:@"%@", [appDelegate.storiesCollection.activeFeed
|
||||
objectForKey:@"id"]];
|
||||
}
|
||||
NSString *feedId = [self feedId];
|
||||
|
||||
if ([urlComponents count] > 1) {
|
||||
action = [NSString stringWithFormat:@"%@", [urlComponents objectAtIndex:1]];
|
||||
|
|
Loading…
Add table
Reference in a new issue