mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-28 19:21:16 +00:00
Swiftformat .
This commit is contained in:
parent
fd3d9fc2bc
commit
058500f91e
13 changed files with 27 additions and 32 deletions
|
@ -46,7 +46,5 @@ public struct ErrorView: View {
|
|||
#Preview {
|
||||
ErrorView(title: "Error",
|
||||
message: "Error loading. Please try again",
|
||||
buttonTitle: "Retry") {
|
||||
|
||||
}
|
||||
buttonTitle: "Retry") {}
|
||||
}
|
||||
|
|
|
@ -52,13 +52,10 @@ public struct NextPageView: View {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#Preview {
|
||||
List {
|
||||
Text("Item 1")
|
||||
NextPageView {
|
||||
|
||||
}
|
||||
NextPageView {}
|
||||
}
|
||||
.listStyle(.plain)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import DesignSystem
|
||||
import SwiftUI
|
||||
import Env
|
||||
import SwiftUI
|
||||
|
||||
@MainActor
|
||||
public struct TimelineContentFilterView: View {
|
||||
|
|
Loading…
Reference in a new issue