diff --git a/enzevalos_iphone/SwiftUI/Read/ReadMainView.swift b/enzevalos_iphone/SwiftUI/Read/ReadMainView.swift index cefafae8ba5446354f98703463dcfba72dba15cf..020cb4202120361e19436baf902b7c644340a1de 100644 --- a/enzevalos_iphone/SwiftUI/Read/ReadMainView.swift +++ b/enzevalos_iphone/SwiftUI/Read/ReadMainView.swift @@ -20,9 +20,7 @@ import SwiftUI struct ReadMainView <M: DisplayMail>: View { public var mail: M - - @State private var isSecIndExpanded = false - + var body: some View { TabView{ ForEach(Tabs, id: \.id ){ tab in @@ -33,7 +31,6 @@ struct ReadMainView <M: DisplayMail>: View { } } } - .navigationBarItems(trailing: moreInfoButton) } //TODO: not use AnyView-workaround @@ -63,25 +60,6 @@ struct ReadMainView <M: DisplayMail>: View { ] } } - - var moreInfoButton: some View{ - Button(action: { - self.isSecIndExpanded.toggle() - - }){ - Image(systemName: isSecIndExpanded ? "arrow.up.circle" : "info.circle") - } - } - var naviTitle: String { - return mail.subject ?? "" - } - - var detailInfo: some View { - let dialog = mail.dialog - return DialogView(option: dialog, ctaAction: { - self.isSecIndExpanded = false - }, additionalAction: nil, dismissAction: nil, extend: false) - } }