diff LazyBear/Views/Company/Helpers/TransactionList.swift @ 430:c78d5b5b3bda

Minor updates
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 19 Jun 2021 16:21:26 +0200
parents 5f21f7c23c5e
children
line wrap: on
line diff
--- a/LazyBear/Views/Company/Helpers/TransactionList.swift	Sat Jun 19 16:20:58 2021 +0200
+++ b/LazyBear/Views/Company/Helpers/TransactionList.swift	Sat Jun 19 16:21:26 2021 +0200
@@ -56,7 +56,7 @@
 
 struct TransactionFullList: View {
     var transactions: [InsiderTransactionModel]
-    @Environment(\.presentationMode) private var presentationTransactionFullList
+    @Environment(\.presentationMode) private var transactionFullListPresentation
     
     var body: some View {
         NavigationView {
@@ -72,7 +72,7 @@
             .navigationBarTitleDisplayMode(.inline)
             .toolbar {
                 ToolbarItem(placement: .navigationBarLeading) {
-                    Button(action: { presentationTransactionFullList.wrappedValue.dismiss() }) {
+                    Button(action: { transactionFullListPresentation.wrappedValue.dismiss() }) {
                         Image(systemName: "multiply")
                             .imageScale(.large)
                     }