|
@@ -31,7 +31,7 @@
|
31
|
31
|
|
32
|
32
|
@implementation Reddit
|
33
|
33
|
|
34
|
|
-NSInteger maxTitleLength = 60;
|
|
34
|
+NSInteger maxTitleLength = 66;
|
35
|
35
|
NSString *replaceTextForTitle = @"...";
|
36
|
36
|
NSString *subredditFormat = @" [r/%@]";
|
37
|
37
|
#define AUTHOR @"xythobuz"
|
|
@@ -133,7 +133,10 @@ NSString *subredditFormat = @" [r/%@]";
|
133
|
133
|
if (showSubs)
|
134
|
134
|
name = [NSString stringWithFormat:@"%@%@", name, subreddit];
|
135
|
135
|
RedditItem *r = [RedditItem itemWithName:name Link:link Comments:comments Self:isSelf];
|
136
|
|
- [r setFullName:[current valueForKey:@"title"]];
|
|
136
|
+ NSString *fullName = [current valueForKey:@"title"];
|
|
137
|
+ if (showSubs)
|
|
138
|
+ fullName = [NSString stringWithFormat:@"%@%@", fullName, subreddit];
|
|
139
|
+ [r setFullName:fullName];
|
137
|
140
|
[array insertObject:r atIndex:i];
|
138
|
141
|
|
139
|
142
|
if (i == ([children count] - 1)) {
|