mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-27 15:07:44 +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 {
|
- (NSString *)statusText {
|
||||||
return self.modifiedPost.draft ? @"Draft" : self.modifiedPost.date;
|
if (self.post) {
|
||||||
|
return self.modifiedPost.draft ? @"Draft" : self.modifiedPost.date;
|
||||||
|
}
|
||||||
|
return @"";
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)configureLinkView {
|
- (void)configureLinkView {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue