mirror of
https://github.com/yattee/yattee.git
synced 2025-12-29 16:02:32 +00:00
Replace URLImage with AsyncImage
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user