1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 06:10:32 +05:30
yattee/Shared/PearvidiousApp.swift

16 lines
410 B
Swift
Raw Normal View History

2021-06-10 02:21:23 +05:30
import SwiftUI
2021-06-11 04:20:10 +05:30
import URLImage
import URLImageStore
2021-06-10 02:21:23 +05:30
@main
struct PearvidiousApp: App {
var body: some Scene {
2021-06-11 04:20:10 +05:30
let urlImageService = URLImageService(fileStore: URLImageFileStore(),
inMemoryStore: URLImageInMemoryStore())
2021-06-10 02:21:23 +05:30
WindowGroup {
ContentView()
2021-06-11 04:20:10 +05:30
.environment(\.urlImageService, urlImageService)
2021-06-10 02:21:23 +05:30
}
}
}