mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 14:02:53 +01:00
StatusRow: Reuse context menu + disable avatar image processor for smoother scrolling
This commit is contained in:
parent
1a0aa3fb84
commit
a52f0f9fbe
@ -60,7 +60,6 @@ public struct AvatarView: View {
|
||||
placeholderView
|
||||
}
|
||||
}
|
||||
.processors([.resize(size: size.size), .roundedCorners(radius: size.cornerRadius)])
|
||||
.frame(width: size.size.width, height: size.size.height)
|
||||
}
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ public struct StatusRowView: View {
|
||||
|
||||
private var menuButton: some View {
|
||||
Menu {
|
||||
StatusRowContextMenu(viewModel: viewModel)
|
||||
contextMenu
|
||||
} label: {
|
||||
Image(systemName: "ellipsis")
|
||||
.frame(width: 30, height: 30)
|
||||
|
Loading…
Reference in New Issue
Block a user