More spacing on toolbar items

This commit is contained in:
Jackson Harper
2024-01-04 12:40:47 +08:00
parent 486ec19937
commit de0686d0b1

View File

@ -424,13 +424,13 @@ struct AnimatingCellHeight: AnimatableModifier {
viewModel.bulkAction(dataService: dataService, action: .delete, items: Array(selection))
isEditMode = .inactive
}, label: { Image.toolbarTrash })
.padding(.horizontal, 10)
.padding(.horizontal, UIDevice.isIPad ? 10 : 5)
Button(action: {
viewModel.bulkAction(dataService: dataService, action: .archive, items: Array(selection))
isEditMode = .inactive
}, label: { Image.toolbarArchive.padding(.top, 4) })
.padding(.horizontal, 10)
}, label: { Image.toolbarArchive })
.padding(.horizontal, UIDevice.isIPad ? 10 : 5)
Spacer()
Text("\(selection.count) selected").font(.footnote)