Fix the inverted chat bubbles

This commit is contained in:
Guillaume BIENKOWSKI 2014-05-23 09:19:17 +02:00
parent 4870a0c8fd
commit e7cd7f0761

View file

@ -274,7 +274,7 @@ static UIFont *CELL_FONT = nil;
CGRect messageFrame = [bubbleView frame];
messageFrame.origin.y = ([innerView frame].size.height - messageFrame.size.height)/2;
if(is_outgoing) { // Inverted
if(!is_outgoing) { // Inverted
[backgroundImage setImage:[TUNinePatchCache imageOfSize:[backgroundImage bounds].size
forNinePatchNamed:@"chat_bubble_incoming"]];
messageFrame.origin.y += 5;