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 {
|
#Preview {
|
||||||
ErrorView(title: "Error",
|
ErrorView(title: "Error",
|
||||||
message: "Error loading. Please try again",
|
message: "Error loading. Please try again",
|
||||||
buttonTitle: "Retry") {
|
buttonTitle: "Retry") {}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,13 +52,10 @@ public struct NextPageView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#Preview {
|
#Preview {
|
||||||
List {
|
List {
|
||||||
Text("Item 1")
|
Text("Item 1")
|
||||||
NextPageView {
|
NextPageView {}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.listStyle(.plain)
|
.listStyle(.plain)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import SwiftUI
|
|
||||||
import Network
|
import Network
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
public extension View {
|
public extension View {
|
||||||
func withPreviewsEnv() -> some View{
|
func withPreviewsEnv() -> some View {
|
||||||
environment(RouterPath())
|
environment(RouterPath())
|
||||||
.environment(Client(server: ""))
|
.environment(Client(server: ""))
|
||||||
.environment(CurrentAccount.shared)
|
.environment(CurrentAccount.shared)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import DesignSystem
|
import DesignSystem
|
||||||
import SwiftUI
|
|
||||||
import Env
|
import Env
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
public struct TimelineContentFilterView: View {
|
public struct TimelineContentFilterView: View {
|
||||||
|
|
Loading…
Reference in a new issue