Commit eaf1bc80 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

fix: incoming transfer view

Change-Id: I95cac23d5cb77c2432b9429e20c5cbb753709157
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 26cc4edd
......@@ -328,6 +328,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) {
break;
}
result.transferedImage.image = nil;
[result.openImagebutton setHidden:YES];
[result.msgBackground setHidden:NO];
[result invalidateImageConstraints];
NSString* name = @(interaction.body.c_str());
......@@ -360,6 +361,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) {
[result updateImageConstraintWithMax: MAX_TRANSFERED_IMAGE_SIZE];
[result.openImagebutton setAction:@selector(imagePreview:)];
[result.openImagebutton setTarget:self];
[result.openImagebutton setHidden:NO];
}
}
[result setupForInteraction:interactionID];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment