Swiftformat .

This commit is contained in:
Thomas Ricouard 2024-03-11 09:05:52 +01:00
parent fd3d9fc2bc
commit 058500f91e
13 changed files with 27 additions and 32 deletions

View file

@ -46,7 +46,5 @@ public struct ErrorView: View {
#Preview {
ErrorView(title: "Error",
message: "Error loading. Please try again",
buttonTitle: "Retry") {
}
buttonTitle: "Retry") {}
}

View file

@ -52,13 +52,10 @@ public struct NextPageView: View {
}
}
#Preview {
List {
Text("Item 1")
NextPageView {
}
NextPageView {}
}
.listStyle(.plain)
}

View file

@ -1,9 +1,9 @@
import SwiftUI
import Network
import SwiftUI
@MainActor
public extension View {
func withPreviewsEnv() -> some View{
func withPreviewsEnv() -> some View {
environment(RouterPath())
.environment(Client(server: ""))
.environment(CurrentAccount.shared)

View file

@ -1,6 +1,6 @@
import DesignSystem
import SwiftUI
import Env
import SwiftUI
@MainActor
public struct TimelineContentFilterView: View {