mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix an animation glitch when signing in on iOS 16. (#2098)
This commit is contained in:
@@ -40,9 +40,9 @@ struct HomeScreen: View {
|
|||||||
ForEach(context.viewState.visibleRooms) { room in
|
ForEach(context.viewState.visibleRooms) { room in
|
||||||
HomeScreenRoomCell(room: room, context: context, isSelected: false)
|
HomeScreenRoomCell(room: room, context: context, isSelected: false)
|
||||||
.redacted(reason: .placeholder)
|
.redacted(reason: .placeholder)
|
||||||
|
.shimmer() // Putting this directly on the LazyVStack creates an accordion animation on iOS 16.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.shimmer()
|
|
||||||
.disabled(true)
|
.disabled(true)
|
||||||
case .empty:
|
case .empty:
|
||||||
HomeScreenEmptyStateLayout(minHeight: geometry.size.height) {
|
HomeScreenEmptyStateLayout(minHeight: geometry.size.height) {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Fix an animation glitch when signing in on iOS 16.
|
||||||
Reference in New Issue
Block a user