Delete
Revenue
fun DeleteRevenue(show: MutableState<Boolean>, viewModel: RevenueRelatedScreenViewModel, revenue: Revenue, onDelete: () -> Unit)
Custom EquinoxAlertDialog used to warn the user about the deletion of a Revenue
Parameters
show
Whether the dialog is shown
view Model
The support viewmodel for the screen
revenue
The revenue to delete
on Delete
The action to execute when the user confirm the revenue deletion