Add Links Button

@Composable
open fun AddLinksButton(viewModel: LinksCollectionViewModelHelper, show: MutableState<Boolean>, links: List<T>, collection: LinksCollection, tint: Color)

Function to add links to a collection

Parameters

viewModel

: the view model used to execute this operation

show

: whether show the EquinoxAlertDialog where is possible chose the links

links

: the list of links identifiers to share with the collection

collection

: the collection where add the links

tint

: the tint for the OptionButton


@Composable
open fun AddLinksButton(viewModel: TeamViewModelHelper, show: MutableState<Boolean>, links: List<T>, team: Team, tint: Color)

Function to add links to a teams

Parameters

viewModel

: the view model used to execute this operation

show

: whether show the EquinoxAlertDialog where is possible chose the links

links

: the list of links identifiers where share with the team

team

: the team where add the links

tint

: the tint for the OptionButton