Add divider.

This commit is contained in:
Marcin Czachursk 2023-02-21 21:55:29 +01:00
parent 914a6c2307
commit f277162831
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ struct ImageUploadView: View {
Label("Try to upload", systemImage: "exclamationmark.arrow.triangle.2.circlepath") Label("Try to upload", systemImage: "exclamationmark.arrow.triangle.2.circlepath")
} }
Divider()
Button(role: .destructive) { Button(role: .destructive) {
HapticService.shared.fireHaptic(of: .buttonPress) HapticService.shared.fireHaptic(of: .buttonPress)
self.delete() self.delete()
@ -70,6 +72,8 @@ struct ImageUploadView: View {
Label("Edit", systemImage: "pencil") Label("Edit", systemImage: "pencil")
} }
Divider()
Button(role: .destructive) { Button(role: .destructive) {
HapticService.shared.fireHaptic(of: .buttonPress) HapticService.shared.fireHaptic(of: .buttonPress)
self.delete() self.delete()