mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-26 14:57:42 +00:00
fix post status display bug
This commit is contained in:
parent
70f313a0b2
commit
63cc9c4375
1 changed files with 4 additions and 1 deletions
|
|
@ -129,7 +129,10 @@
|
|||
}
|
||||
|
||||
- (NSString *)statusText {
|
||||
return self.modifiedPost.draft ? @"Draft" : self.modifiedPost.date;
|
||||
if (self.post) {
|
||||
return self.modifiedPost.draft ? @"Draft" : self.modifiedPost.date;
|
||||
}
|
||||
return @"";
|
||||
}
|
||||
|
||||
- (void)configureLinkView {
|
||||
|
|
|
|||
Loading…
Reference in a new issue