metatext/System/MetatextApp.swift
Justin Mazzocchi 5f96f59ac3
wip
2020-08-31 03:21:01 -07:00

22 lines
776 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import SwiftUI
import Services
@main
struct MetatextApp: App {
// swiftlint:disable weak_delegate
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
// swiftlint:enable weak_delegate
var body: some Scene {
WindowGroup {
RootView(
viewModel: RootViewModel(appDelegate: appDelegate,
// swiftlint:disable force_try
allIdentitiesService: try! AllIdentitiesService(environment: .live),
// swiftlint:enable force_try
userNotificationService: UserNotificationService()))
}
}
}