yattee/Shared/PearvidiousApp.swift
2021-06-11 01:00:28 +02:00

16 lines
410 B
Swift

import SwiftUI
import URLImage
import URLImageStore
@main
struct PearvidiousApp: App {
var body: some Scene {
let urlImageService = URLImageService(fileStore: URLImageFileStore(),
inMemoryStore: URLImageInMemoryStore())
WindowGroup {
ContentView()
.environment(\.urlImageService, urlImageService)
}
}
}