DeleteCollectionButton

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

viewModel

: the view model used to execute this operation

deleteCollection

: whether the warn EquinoxAlertDialog is shown

collection

: the collection to share

tint

: the tint for the OptionButton