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 {
|
2020-07-07 04:14:05 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|