Add group story removal dialog.

This commit is contained in:
Alex Hart
2022-10-06 10:34:39 -03:00
committed by Greyson Parrelli
parent cc5aab6be3
commit 35f1baf965
6 changed files with 38 additions and 3 deletions

View File

@@ -16,6 +16,15 @@ class StoryDialogLauncherFragment : DSLSettingsFragment(titleId = R.string.prefe
private fun getConfiguration(): DSLConfiguration {
return configure {
clickPref(
title = DSLSettingsText.from(R.string.preferences__internal_remove_group_story),
onClick = {
StoryDialogs.removeGroupStory(requireContext(), "Family") {
Toast.makeText(requireContext(), R.string.preferences__internal_remove_group_story, Toast.LENGTH_SHORT).show()
}
}
)
clickPref(
title = DSLSettingsText.from(R.string.preferences__internal_retry_send),
onClick = {