Search history for tab navigation

This commit is contained in:
Arkadiusz Fal
2021-09-19 14:42:47 +02:00
parent ee1cb924c9
commit bede29dd51
8 changed files with 117 additions and 27 deletions

View File

@@ -13,7 +13,7 @@ struct AppSidebarRecents: View {
Group {
if !recentItems.isEmpty {
Section(header: Text("Recents")) {
ForEach(recentItems) { recent in
ForEach(recentItems.reversed()) { recent in
Group {
switch recent.type {
case .channel: