NetNewsWire/Multiplatform/Shared/Article/ArticleContainerView.swift

24 lines
531 B
Swift
Raw Normal View History

2020-07-02 22:30:50 +02:00
//
// ArticleContainerView.swift
// NetNewsWire
//
// Created by Maurice Parker on 7/2/20.
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import SwiftUI
import Articles
struct ArticleContainerView: View {
@EnvironmentObject private var sceneModel: SceneModel
@StateObject private var articleModel = ArticleModel()
2020-07-04 04:55:27 +02:00
var article: Article
2020-07-02 22:30:50 +02:00
@ViewBuilder var body: some View {
ArticleView(sceneModel: sceneModel, articleModel: articleModel, article: article)
2020-07-06 01:53:18 +02:00
.modifier(ArticleToolbarModifier())
2020-07-02 22:30:50 +02:00
}
}