diff --git a/JustScanIt/View/MainView.swift b/JustScanIt/View/MainView.swift index 2c197f1..f2d61fa 100644 --- a/JustScanIt/View/MainView.swift +++ b/JustScanIt/View/MainView.swift @@ -65,7 +65,7 @@ struct MainView: View { } ToolbarItem { Button(action: showVNDocumentCameraView) { - Image(systemName: "scanner.fill") + Image(systemName: "plus") } } } diff --git a/JustScanIt/View/ScanItemView.swift b/JustScanIt/View/ScanItemView.swift index ca8e2da..7962e85 100644 --- a/JustScanIt/View/ScanItemView.swift +++ b/JustScanIt/View/ScanItemView.swift @@ -11,7 +11,7 @@ struct ScanItemView: View { @Environment(\.modelContext) var ctx let scan: Scan - private let translucentColour = Color(red: 1, green: 1, blue: 1, opacity: 0.4) + private let translucentColour = Color(red: 0.6, green: 0.8, blue: 1, opacity: 0.4) init(_ scan: Scan) { self.scan = scan @@ -40,7 +40,7 @@ struct ScanItemView: View { Button { scan.copyImages() } label: { Image(systemName: "doc.on.doc.fill").tint(.white) .padding(8) - .background(Color(red: 1, green: 1, blue: 1, opacity: 0.4)) + .background(translucentColour) .clipShape(Circle()) } } @@ -48,7 +48,7 @@ struct ScanItemView: View { ShareLink(items: scan.suiImages, preview: { _ in SharePreview("Scan", image: scan.suiImages.first!)} ) { Image(systemName: "square.and.arrow.up").tint(.white) .padding(8) - .background(Color(red: 1, green: 1, blue: 1, opacity: 0.4)) + .background(translucentColour) .offset(y: -2) .clipShape(Circle()) } @@ -56,7 +56,7 @@ struct ScanItemView: View { Button { delete() } label: { Image(systemName: "trash.fill").tint(.red) .padding(8) - .background(Color(red: 1, green: 1, blue: 1, opacity: 0.4)) + .background(translucentColour) .clipShape(Circle()) } .contextMenu(menuItems: { @@ -67,8 +67,8 @@ struct ScanItemView: View { } .padding() - .background(Color.accentColor) - .clipShape(RoundedRectangle(cornerRadius: 12)) + .background(Color(red: 0.4, green: 0.6, blue: 0.9, opacity: 0.8)) + .clipShape(RoundedRectangle(cornerRadius: 35)) .padding(.horizontal, 12) } @@ -96,5 +96,6 @@ struct ScanItemView: View { ScanItemView(s) } } + .navigationTitle("Just Scan It!") } }