Commit 5006b726 authored by Quentin Muret's avatar Quentin Muret Committed by Kateryna Kostiuk

app style: change icons by IOS style icons

change the following icons:
- back button
- conversation tab icon
- camera
- clear conversation
- download
- upload
- invitations tab icon
- audio call button
- video call button
- reverse camera
- account tab icon

Change-Id: I7b250f4bd373864dc038c56278b10bf5e5b08ea2
Reviewed-by: Kateryna Kostiuk<kateryna.kostiuk@savoirfairelinux.com>
parent 4a14ce2e
......@@ -277,27 +277,27 @@ class ConversationViewController: UIViewController,
profileImageView.center = CGPoint.init(x: imageSize / 2, y: titleView.center.y)
if let profileName = displayName, !profileName.isEmpty {
profileImageView.addSubview(AvatarView(profileImageData: profileImageData, username: profileName, size: 36))
profileImageView.addSubview(AvatarView(profileImageData: profileImageData, username: profileName, size: 30))
titleView.addSubview(profileImageView)
} else if let bestId = username {
profileImageView.addSubview(AvatarView(profileImageData: profileImageData, username: bestId, size: 36))
profileImageView.addSubview(AvatarView(profileImageData: profileImageData, username: bestId, size: 30))
titleView.addSubview(profileImageView)
}
var dnlabelYOffset: CGFloat = 0
if UIDevice.current.hasNotch {
if displayName == nil || displayName == "" {
userNameYOffset = 10
userNameYOffset = 7
} else {
dnlabelYOffset = 4
userNameYOffset = 20
dnlabelYOffset = 2
userNameYOffset = 18
}
} else {
if displayName == nil || displayName == "" {
userNameYOffset = 3
if displayName == nil || displayName == "" {
userNameYOffset = 1
} else {
dnlabelYOffset = -2
userNameYOffset = 12
dnlabelYOffset = -4
userNameYOffset = 10
}
}
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_perm_identity.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_perm_identity_2x.png",
"filename" : "Icon-48.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_perm_identity_3x.png",
"filename" : "Icon-80.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_arrow_back.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_arrow_back_2x.png",
"filename" : "Icon-55.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_arrow_back_3x.png",
"filename" : "Icon-87.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_call.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_call_2x.png",
"filename" : "Icon-58.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_call_3x.png",
"filename" : "Icon-80.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_photo_camera.png",
"filename" : "Icon-20.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_photo_camera_2x.png",
"filename" : "Icon-40.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_photo_camera_3x.png",
"filename" : "Icon-64.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_clear_all.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_clear_all_2x.png",
"filename" : "Icon-58.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_clear_all_3x.png",
"filename" : "Icon-80.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_mail_outline.png",
"filename" : "Icon-29 (1).png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_mail_outline_2x.png",
"filename" : "Icon-40.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_mail_outline_3x.png",
"filename" : "Icon-64.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_chat.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_chat_2x.png",
"filename" : "Icon-48.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_chat_3x.png",
"filename" : "Icon-72.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_file_download.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_file_download_2x.png",
"filename" : "Icon-43.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_file_download_3x.png",
"filename" : "Icon-72.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_file_upload.png",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_file_upload_2x.png",
"filename" : "Icon-43.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_file_upload_3x.png",
"filename" : "Icon-72.png",
"scale" : "3x"
}
],
......
......@@ -2,15 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "img_530061.png",
"filename" : "Icon-48.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Icon-72.png",
"scale" : "3x"
}
],
......
......@@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "ic_videocam_white.png",
"filename" : "Icon-29 (1).png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ic_videocam_white_2x.png",
"filename" : "Icon-58 (1).png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "ic_videocam_white_3x.png",
"filename" : "Icon-80 (1).png",
"scale" : "3x"
}
],
......
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