mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-26 00:50:48 +00:00
16 lines
385 B
Swift
16 lines
385 B
Swift
import SwiftUI
|
|
import Network
|
|
|
|
@MainActor
|
|
public extension View {
|
|
func withPreviewsEnv() -> some View{
|
|
environment(RouterPath())
|
|
.environment(Client(server: ""))
|
|
.environment(CurrentAccount.shared)
|
|
.environment(UserPreferences.shared)
|
|
.environment(CurrentInstance.shared)
|
|
.environment(PushNotificationsService.shared)
|
|
.environment(QuickLook.shared)
|
|
}
|
|
}
|