mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 09:58:14 +00:00
Add recent documents to home on iOS
This commit is contained in:
22
Shared/Documents/NoDocumentsView.swift
Normal file
22
Shared/Documents/NoDocumentsView.swift
Normal file
@@ -0,0 +1,22 @@
|
||||
import SwiftUI
|
||||
|
||||
struct NoDocumentsView: View {
|
||||
var body: some View {
|
||||
VStack(alignment: .center, spacing: 20) {
|
||||
HStack {
|
||||
Image(systemName: "doc")
|
||||
Text("No documents")
|
||||
}
|
||||
Text("Share files from Finder on a Mac\nor iTunes on Windows")
|
||||
.multilineTextAlignment(.center)
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
.foregroundColor(.secondary)
|
||||
}
|
||||
}
|
||||
|
||||
struct NoDocumentsView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
NoDocumentsView()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user