feat: add note to self delete option
This commit is contained in:
parent
ff057d7110
commit
50bc298490
|
@ -56,7 +56,10 @@ class DeleteOptionsBottomSheet : BottomSheetDialogFragment(), View.OnClickListen
|
||||||
if (!this::recipient.isInitialized) {
|
if (!this::recipient.isInitialized) {
|
||||||
return dismiss()
|
return dismiss()
|
||||||
}
|
}
|
||||||
if (!recipient.isGroupRecipient && !contact.isNullOrEmpty()) {
|
if (recipient.isLocalNumber) {
|
||||||
|
binding.deleteForEveryoneTextView.text =
|
||||||
|
getString(R.string.delete_message_for_my_devices)
|
||||||
|
} else if (!recipient.isGroupRecipient && !contact.isNullOrEmpty()) {
|
||||||
binding.deleteForEveryoneTextView.text =
|
binding.deleteForEveryoneTextView.text =
|
||||||
resources.getString(R.string.delete_message_for_me_and_recipient, contact)
|
resources.getString(R.string.delete_message_for_me_and_recipient, contact)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue