zashi-ios-wallet-private/secant/SecantApp.swift

30 lines
477 B
Swift
Raw Normal View History

2021-07-29 15:38:35 -07:00
//
// secantApp.swift
// secant
//
// Created by Francisco Gindre on 7/29/21.
//
import SwiftUI
@main
struct SecantApp: App {
2021-12-13 17:23:50 -08:00
var appStore: AppStore = .placeholder
2021-07-29 15:38:35 -07:00
var body: some Scene {
WindowGroup {
2021-12-13 17:23:50 -08:00
AppView(store: appStore)
2021-07-29 15:38:35 -07:00
}
}
}
2021-12-13 17:23:50 -08:00
extension AppStore {
static var placeholder: AppStore {
AppStore(
initialState: .placeholder,
reducer: .default,
environment: .mock
2021-12-13 17:23:50 -08:00
)
}
}