Improve layout stability and disable unwanted animations

Added height reservation to FavoriteItemView to prevent layout shifts during content loading. Changed HomeView to use LazyVStack for better performance. Converted QueueView from LazyVStack to VStack. Disabled animations on content count changes across multiple views to prevent jarring layout transitions. Added width constraint to stream button in PlaybackSettings.
This commit is contained in:
Arkadiusz Fal
2025-11-14 20:02:07 +01:00
parent 6c3da98465
commit a0a54bced9
6 changed files with 108 additions and 77 deletions

View File

@@ -411,7 +411,7 @@ struct PlaybackSettings: View {
}
.transaction { t in t.animation = .none }
.buttonStyle(.plain)
.frame(height: 40, alignment: .trailing)
.frame(width: 140, height: 40, alignment: .trailing)
#else
StreamControl(focusedField: $focusedField)
#endif