mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
StatusRow: Reuse context menu + disable avatar image processor for smoother scrolling
This commit is contained in:
parent
1a0aa3fb84
commit
a52f0f9fbe
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue