File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 51515151 ORGANIZATIONNAME = Coding;
51525152 TargetAttributes = {
51535153 8E47700F198770E700997D05 = {
5154+ DevelopmentTeam = QN5Z87S3LH;
51545155 SystemCapabilities = {
51555156 com.apple.BackgroundModes = {
51565157 enabled = 0;
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ + (CGFloat)contentMediaHeightWithTweet:(Tweet *)tweet{
389389
390390+ (CGFloat)likeCommentBtn_BottomPadingWithTweet : (Tweet *)tweet {
391391 if (tweet &&
392- (tweet. likes . intValue > 0
392+ ([ tweet hasLikesOrRewards ]
393393 ||tweet.comments .intValue > 0 )){
394394 return 15.0 ;
395395 }else {
@@ -414,7 +414,7 @@ + (CGFloat)locationAndDeviceHeightWithTweet:(Tweet *)tweet{
414414
415415+ (CGFloat)likeUsersHeightWithTweet : (Tweet *)tweet {
416416 CGFloat likeUsersHeight = 0 ;
417- if (tweet. likes . intValue > 0 ) {
417+ if ([ tweet hasLikesOrRewards ] ) {
418418 likeUsersHeight = 45 ;
419419// +30*(ceilf([tweet.like_users count]/kTweet_LikeUsersLineCount)-1);
420420 }
Original file line number Diff line number Diff line change @@ -285,15 +285,15 @@ + (CGFloat)contentHeightWithTweet:(Tweet *)tweet{
285285
286286+ (CGFloat)likeCommentBtn_BottomPadingWithTweet : (Tweet *)tweet {
287287 if (tweet &&
288- (tweet. likes . intValue > 0 )){
288+ ([ tweet hasLikesOrRewards ] )){
289289 return 5.0 ;
290290 }else {
291291 return 0 ;
292292 }
293293}
294294+ (CGFloat)likeUsersHeightWithTweet : (Tweet *)tweet {
295295 CGFloat likeUsersHeight = 0 ;
296- if (tweet. likes . intValue > 0 ) {
296+ if ([ tweet hasLikesOrRewards ] ) {
297297 likeUsersHeight = 35 ;
298298 // +30*(ceilf([tweet.like_users count]/kTweet_LikeUsersLineCount)-1);
299299 }
You can’t perform that action at this time.
0 commit comments