DeleteTeamButton

open fun DeleteTeamButton(activity: Activity?, viewModel: TeamViewModelHelper, deleteTeam: MutableState<Boolean>, team: Team, tint: Color)

Function to delete a team

Parameters

activity

: the activity where the action has been invoked

viewModel

: the view model used to execute this operation

deleteTeam

: whether show the warn EquinoxAlertDialog about the team deletion

team

: the team to delete

tint

: the tint for the OptionButton