diff options
Diffstat (limited to 'Hutch/Views/Home')
| -rw-r--r-- | Hutch/Views/Home/HomePrototypeView.swift | 7 | ||||
| -rw-r--r-- | Hutch/Views/Home/HomeView.swift | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Hutch/Views/Home/HomePrototypeView.swift b/Hutch/Views/Home/HomePrototypeView.swift deleted file mode 100644 index 77c360a..0000000 --- a/Hutch/Views/Home/HomePrototypeView.swift +++ /dev/null @@ -1,7 +0,0 @@ -import SwiftUI - -struct HomePrototypeView: View { - var body: some View { - HomeView() - } -} diff --git a/Hutch/Views/Home/HomeView.swift b/Hutch/Views/Home/HomeView.swift index b4b809d..fa7de86 100644 --- a/Hutch/Views/Home/HomeView.swift +++ b/Hutch/Views/Home/HomeView.swift @@ -118,7 +118,7 @@ struct HomeView: View { private var recentSection: some View { if !recentItems.isEmpty { Section("Recent") { - ForEach(recentItems) { item in + ForEach(recentItems.prefix(3)) { item in Button { openRecentItem(item) } label: { |
