mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-05-17 03:52:42 +00:00
16 lines
398 B
Swift
16 lines
398 B
Swift
import Network
|
|
import SwiftUI
|
|
|
|
@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)
|
|
}
|
|
}
|