Remove spacer

This commit is contained in:
Thomas Ricouard 2024-02-11 18:45:38 +01:00
parent 20900f573f
commit dfc213a19a

View file

@ -12,7 +12,6 @@ public struct NextPageView: View {
public var body: some View { public var body: some View {
HStack { HStack {
Spacer()
if showRetry { if showRetry {
Button { Button {
Task { Task {
@ -29,8 +28,8 @@ public struct NextPageView: View {
.foregroundStyle(.secondary) .foregroundStyle(.secondary)
.symbolEffect(.pulse, value: isLoadingNextPage) .symbolEffect(.pulse, value: isLoadingNextPage)
} }
Spacer()
} }
.frame(maxWidth: .infinity, alignment: .center)
.task { .task {
await executeTask() await executeTask()
} }