mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix redacted cards for grid mode
This commit is contained in:
parent
a47578f138
commit
eadfbc3436
1 changed files with 10 additions and 0 deletions
|
|
@ -933,6 +933,16 @@ struct AnimatingCellHeight: AnimatableModifier {
|
|||
GridCard(item: item, isContextMenuOpen: $isContextMenuOpen, actionHandler: { _ in
|
||||
|
||||
})
|
||||
.aspectRatio(1.0, contentMode: .fill)
|
||||
.background(
|
||||
Color.secondarySystemGroupedBackground
|
||||
.onTapGesture {
|
||||
if isContextMenuOpen {
|
||||
isContextMenuOpen = false
|
||||
}
|
||||
}
|
||||
)
|
||||
.cornerRadius(6)
|
||||
}.redacted(reason: .placeholder)
|
||||
} else {
|
||||
ForEach(viewModel.fetcher.items) { item in
|
||||
|
|
|
|||
Loading…
Reference in a new issue