DeleteUpdate

fun DeleteUpdate(viewModel: ProjectScreenViewModel, update: ProjectUpdate, show: MutableState<Boolean>, onDelete: () -> Unit)

Alert to warn about the update deletion

Parameters

viewModel

The support viewmodel for the screen

update

The update to delete

show

Whether the alert is shown

onDelete

The action to execute when the update has been deleted