File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5151
5151
ORGANIZATIONNAME = Coding;
5152
5152
TargetAttributes = {
5153
5153
8E47700F198770E700997D05 = {
5154
+ DevelopmentTeam = QN5Z87S3LH;
5154
5155
SystemCapabilities = {
5155
5156
com.apple.BackgroundModes = {
5156
5157
enabled = 0;
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ + (CGFloat)contentMediaHeightWithTweet:(Tweet *)tweet{
389
389
390
390
+ (CGFloat )likeCommentBtn_BottomPadingWithTweet : (Tweet *)tweet {
391
391
if (tweet &&
392
- (tweet. likes . intValue > 0
392
+ ([ tweet hasLikesOrRewards ]
393
393
||tweet.comments .intValue > 0 )){
394
394
return 15.0 ;
395
395
}else {
@@ -414,7 +414,7 @@ + (CGFloat)locationAndDeviceHeightWithTweet:(Tweet *)tweet{
414
414
415
415
+ (CGFloat )likeUsersHeightWithTweet : (Tweet *)tweet {
416
416
CGFloat likeUsersHeight = 0 ;
417
- if (tweet. likes . intValue > 0 ) {
417
+ if ([ tweet hasLikesOrRewards ] ) {
418
418
likeUsersHeight = 45 ;
419
419
// +30*(ceilf([tweet.like_users count]/kTweet_LikeUsersLineCount)-1);
420
420
}
Original file line number Diff line number Diff line change @@ -285,15 +285,15 @@ + (CGFloat)contentHeightWithTweet:(Tweet *)tweet{
285
285
286
286
+ (CGFloat )likeCommentBtn_BottomPadingWithTweet : (Tweet *)tweet {
287
287
if (tweet &&
288
- (tweet. likes . intValue > 0 )){
288
+ ([ tweet hasLikesOrRewards ] )){
289
289
return 5.0 ;
290
290
}else {
291
291
return 0 ;
292
292
}
293
293
}
294
294
+ (CGFloat )likeUsersHeightWithTweet : (Tweet *)tweet {
295
295
CGFloat likeUsersHeight = 0 ;
296
- if (tweet. likes . intValue > 0 ) {
296
+ if ([ tweet hasLikesOrRewards ] ) {
297
297
likeUsersHeight = 35 ;
298
298
// +30*(ceilf([tweet.like_users count]/kTweet_LikeUsersLineCount)-1);
299
299
}
You can’t perform that action at this time.
0 commit comments