mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-5695 remove borders from avatar photos
This commit is contained in:
committed by
Frank Rotermund
parent
9cf8aa24dd
commit
1196cee418
@@ -2033,6 +2033,7 @@ SSOAuthenticationPresenterDelegate>
|
||||
profileCell.mxkLabel.text = [VectorL10n settingsProfilePicture];
|
||||
profileCell.accessibilityIdentifier=@"SettingsVCProfilPictureStaticText";
|
||||
profileCell.mxkLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
profileCell.mxkImageView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
|
||||
if([BWIBuildSettings.shared showChangeProfilePictureHint] && [BWIBuildSettings.shared isFederationEnabled]) {
|
||||
profileCell.bwiHint.text = [BWIL10n settingsChangeProfileAvatarHint];
|
||||
@@ -2063,9 +2064,10 @@ SSOAuthenticationPresenterDelegate>
|
||||
withType:nil
|
||||
andImageOrientation:UIImageOrientationUp
|
||||
toFitViewSize:profileCell.mxkImageView.frame.size
|
||||
withMethod:MXThumbnailingMethodCrop
|
||||
withMethod:MXThumbnailingMethodScale
|
||||
previewImage:avatarImage
|
||||
mediaManager:session.mediaManager];
|
||||
[profileCell.mxkImageView setContentMode:UIViewContentModeScaleAspectFill];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user