Small changes, sharing has stopped working skull emoji
This commit is contained in:
parent
77e7ef9319
commit
47bc5d1b47
@ -16,7 +16,7 @@ struct MainView: View {
|
||||
@State private var isShowingVNDocumentCameraView = false
|
||||
@State private var isShowingSettingsView = false
|
||||
|
||||
@Query var scans: [Scan]
|
||||
@Query(sort: \Scan.timestamp, order: .reverse) var scans: [Scan]
|
||||
|
||||
@AppStorage(Prefs.autoLaunchCamera) var autolaunch = false
|
||||
@AppStorage(Prefs.autoCopy) var autoCopy = false
|
||||
|
@ -53,14 +53,12 @@ struct ScanItemView: View {
|
||||
.foregroundStyle(.white)
|
||||
Spacer()
|
||||
|
||||
// if scan.images.count == 1 {
|
||||
// Button { scan.copyImages() } label: {
|
||||
// Image(systemName: "doc.on.doc.fill").tint(.white)
|
||||
// .padding(8)
|
||||
// .background(translucentColour)
|
||||
// .clipShape(Circle())
|
||||
// }
|
||||
// }
|
||||
Button { scan.copyImages() } label: {
|
||||
Image(systemName: "doc.on.doc.fill").tint(.white)
|
||||
.padding(8)
|
||||
.background(translucentColour)
|
||||
.clipShape(Circle())
|
||||
}
|
||||
|
||||
ShareLink(items: self.images, preview: { _ in SharePreview("Scan", image: self.images.first!)} ) {
|
||||
Image(systemName: "square.and.arrow.up").tint(.white)
|
||||
|
Loading…
x
Reference in New Issue
Block a user