Add the ability to do an export of a single chat.

This commit is contained in:
Greyson Parrelli
2026-03-16 13:57:51 -04:00
committed by Michelle Tang
parent 2f41d15a41
commit 2b163a9acd
12 changed files with 1469 additions and 22 deletions

View File

@@ -61,13 +61,18 @@ class SignalProgressDialog private constructor(
message: CharSequence? = null,
indeterminate: Boolean = false,
cancelable: Boolean = false,
cancelListener: DialogInterface.OnCancelListener? = null
cancelListener: DialogInterface.OnCancelListener? = null,
negativeButtonText: CharSequence? = null,
negativeButtonListener: DialogInterface.OnClickListener? = null
): SignalProgressDialog {
val builder = MaterialAlertDialogBuilder(context).apply {
setTitle(null)
setMessage(null)
setCancelable(cancelable)
setOnCancelListener(cancelListener)
if (negativeButtonText != null) {
setNegativeButton(negativeButtonText, negativeButtonListener)
}
}
val customView = LayoutInflater.from(context).inflate(R.layout.signal_progress_dialog, null) as ConstraintLayout