mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-02-08 16:08:46 +01:00
Profile picture fixes
This commit is contained in:
parent
fc869c50c7
commit
5726da53f8
@ -13,7 +13,7 @@ struct ProfilePicture: View {
|
||||
}
|
||||
|
||||
var cornerRadius: CGFloat {
|
||||
return pref.profilePictureShape == .circle ? (50 / 2) : 10.0
|
||||
return pref.profilePictureShape == .circle ? (size / 2) : 10.0
|
||||
}
|
||||
|
||||
init(url: URL) {
|
||||
|
@ -345,7 +345,7 @@ struct ProfileView: View {
|
||||
}
|
||||
|
||||
var profilePicture: some View {
|
||||
ProfilePicture(url: account.avatar, size: biggerPicture ? 300 : 50)
|
||||
ProfilePicture(url: account.avatar, size: biggerPicture ? 300 : 75)
|
||||
.matchedGeometryEffect(id: animPicture, in: accountAnims)
|
||||
.onTapGesture {
|
||||
withAnimation(animPicCurve) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user