mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Add group story removal dialog.
This commit is contained in:
committed by
Greyson Parrelli
parent
cc5aab6be3
commit
35f1baf965
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user