Delete Link Button
open fun DeleteLinkButton(activity: Activity?, viewModel: LinksViewModelHelper<T>, deleteLink: MutableState<Boolean>, link: T, tint: Color)
Function to delete a link
Parameters
activity
: the activity where the action has been invoked
view Model
: the view model used to execute this operation
delete Link
: whether show the warn EquinoxAlertDialog about the link deletion
link
: the link to delete
tint
: the tint for the OptionButton