mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 19:43:38 +00:00
remove 'Media message:' prefix from MMS notification notification
Fixes #2928 Closes #3152 // FREEBIE
This commit is contained in:
parent
488767550e
commit
ee73883214
@ -388,7 +388,7 @@ public class MessageNotifier {
|
||||
body = SpanUtil.italic(context.getString(R.string.MessageNotifier_encrypted_message));
|
||||
} else if (record.isMms() && TextUtils.isEmpty(body)) {
|
||||
body = SpanUtil.italic(context.getString(R.string.MessageNotifier_media_message));
|
||||
} else if (record.isMms()) {
|
||||
} else if (record.isMms() && !record.isMmsNotification()) {
|
||||
String message = context.getString(R.string.MessageNotifier_media_message_with_text, body);
|
||||
int italicLength = message.length() - body.length();
|
||||
body = SpanUtil.italic(message, italicLength);
|
||||
|
Loading…
x
Reference in New Issue
Block a user