From 205c8ea9b2c6dfa62bc8b2342d1aa71e2da7d6ac Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 14 Apr 2026 10:42:05 -0500 Subject: fix: remove prototype screens from developer menu - removed prototype screens - limited Recent section to 3 items - added initial support for tips Fixes: https://todo.sr.ht/~ccleberg/hutch/65 --- Hutch/Views/Home/HomePrototypeView.swift | 7 ------- Hutch/Views/Home/HomeView.swift | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 Hutch/Views/Home/HomePrototypeView.swift (limited to 'Hutch/Views/Home') 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: { -- cgit v1.2.3