Fix crash when toggling stories.

This commit is contained in:
Alex Hart
2023-07-05 12:16:46 -03:00
parent fb4f41b996
commit d3f779cea9
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import org.thoughtcrime.securesms.R
class ProgressCardDialogFragment : DialogFragment(R.layout.progress_card_dialog) {
companion object {
fun create(title: String): ProgressCardDialogFragment {
fun create(title: String? = null): ProgressCardDialogFragment {
return ProgressCardDialogFragment().apply {
arguments = ProgressCardDialogFragmentArgs.Builder(title).build().toBundle()
}