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 {
HStack {
Spacer()
if showRetry {
Button {
Task {
@ -29,8 +28,8 @@ public struct NextPageView: View {
.foregroundStyle(.secondary)
.symbolEffect(.pulse, value: isLoadingNextPage)
}
Spacer()
}
.frame(maxWidth: .infinity, alignment: .center)
.task {
await executeTask()
}