Delete Collection Button
open fun DeleteCollectionButton(activity: Activity?, viewModel: LinksCollectionViewModelHelper, deleteCollection: MutableState<Boolean>, collection: LinksCollection, tint: Color)
Function to delete a collection
Parameters
activity
: the activity where the action has been invoked
view Model
: the view model used to execute this operation
delete Collection
: whether the warn EquinoxAlertDialog is shown
collection
: the collection to share
tint
: the tint for the OptionButton