Skip to content

Commit

Permalink
fix issues/276
Browse files Browse the repository at this point in the history
fix #276
  • Loading branch information
xhzengAIB committed Oct 8, 2015
1 parent 8793d47 commit 46e8a0d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
</data>
<key>Info.plist</key>
<data>
zBLCTvmx/Yd+4c9sd592an+PKjY=
KwohJviyPKKGG3lkZWgizBj0Xnc=
</data>
<key>[email protected]</key>
<data>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
</data>
<key>Info.plist</key>
<data>
zBLCTvmx/Yd+4c9sd592an+PKjY=
KwohJviyPKKGG3lkZWgizBj0Xnc=
</data>
<key>[email protected]</key>
<data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ + (CGSize)neededSizeForText:(NSString *)text {

CGFloat dyWidth = [XHMessageBubbleView neededWidthForText:text];

if ([[[UIDevice currentDevice] systemVersion] floatValue] == 9.0) {
dyWidth += 1;
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0) {
dyWidth += 5;
}

CGSize textSize = [SETextView frameRectWithAttributtedString:[[XHMessageBubbleHelper sharedMessageBubbleHelper] bubbleAttributtedStringWithText:text]
Expand Down

0 comments on commit 46e8a0d

Please sign in to comment.