Delete Collection

fun DeleteCollection(show: MutableState<Boolean>, collectionsManager: CollectionsManager, collection: LinksCollection, onDelete: () -> Unit)

Custom EquinoxAlertDialog used to warn the user about the deletion of a LinksCollection

Parameters

show

Whether the dialog is shown

collectionsManager

The manager of the collections list data

collection

The collection to delete

onDelete

The action to execute when the collection has been deleted