Fix home view empty sections taking excessive vertical space

Removed fixed height constraint from empty state in FavoriteItemView.
Empty sections now collapse to natural height instead of reserving
full content height (290px iOS/600px tvOS), improving space efficiency.
This commit is contained in:
Arkadiusz Fal
2025-11-22 23:54:33 +01:00
parent 0913c6d73c
commit 1eba731283

View File

@@ -66,7 +66,6 @@ struct FavoriteItemView: View {
#else
.padding(.horizontal, 15)
#endif
.frame(height: expectedContentHeight)
} else {
ZStack(alignment: .topLeading) {
// Reserve space immediately to prevent layout shift