Mercurial > public > lazybear
diff LazyBear/Views/Company/Helpers/InsiderTransactionsHelper.swift @ 447:8621ba6fd457
Fixes #48
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 10:54:47 +0200 |
parents | 7d1c4dc8d1d8 |
children | c6913f0ce46e |
line wrap: on
line diff
--- a/LazyBear/Views/Company/Helpers/InsiderTransactionsHelper.swift Tue Jun 22 19:57:08 2021 +0200 +++ b/LazyBear/Views/Company/Helpers/InsiderTransactionsHelper.swift Wed Jun 23 10:54:47 2021 +0200 @@ -19,7 +19,13 @@ .fontWeight(.semibold) Spacer() - Button("See all", action: { showList = true } ) + NavigationLink(destination: InsiderTransactionsList(insiderTransactions: insiderTransactions) + .navigationTitle("Insider Transactions") + .navigationBarTitleDisplayMode(.large) + ) { + Text("See all") + .accentColor(Color(.systemBlue)) + } } .padding(.bottom) @@ -32,9 +38,6 @@ .background( CustomRectangleBox() ) - .sheet(isPresented: $showList) { - InsiderTransactionsList(insiderTransactions: insiderTransactions, isPresented: $showList) - } } }