mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Documents navigation
This commit is contained in:
@@ -56,7 +56,7 @@ struct FavoriteItemView: View {
|
||||
}
|
||||
|
||||
func loadCacheAndResource(force: Bool = false) {
|
||||
guard var resource else { return }
|
||||
guard let resource else { return }
|
||||
|
||||
var onSuccess: (Entity<Any>) -> Void = { _ in }
|
||||
var contentItems = [ContentItem]()
|
||||
|
@@ -92,7 +92,16 @@ struct HomeView: View {
|
||||
if homeRecentDocumentsItems > 0 {
|
||||
VStack {
|
||||
HStack {
|
||||
sectionLabel("Recent Documents")
|
||||
NavigationLink(destination: DocumentsView()) {
|
||||
HStack {
|
||||
Text("Documents")
|
||||
.font(.title3.bold())
|
||||
Image(systemName: "chevron.right")
|
||||
.imageScale(.small)
|
||||
}
|
||||
.lineLimit(1)
|
||||
}
|
||||
.padding(.leading, 15)
|
||||
|
||||
Spacer()
|
||||
|
||||
|
Reference in New Issue
Block a user