mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
Fix last message author bolding
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f68b8854e9
commit
115f25c0c1
@ -169,8 +169,8 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
|
||||
String fullString = authorDisplayName + conversation.getLastMessage().getLastMessageDisplayText();
|
||||
Spannable spannableString = new SpannableString(fullString);
|
||||
final StyleSpan boldStyleSpan = new StyleSpan(Typeface.BOLD);
|
||||
spannableString.setSpan(boldStyleSpan, 0, fullString.indexOf(" "), Spannable
|
||||
.SPAN_INCLUSIVE_EXCLUSIVE);
|
||||
spannableString.setSpan(boldStyleSpan, 0, authorDisplayName.length(), Spannable
|
||||
.SPAN_INCLUSIVE_INCLUSIVE);
|
||||
|
||||
holder.dialogLastMessage.setText(spannableString);
|
||||
|
||||
|
@ -556,7 +556,6 @@ public class CallController extends BaseController {
|
||||
localVideoTrack = peerConnectionFactory.createVideoTrack("NCv0", videoSource);
|
||||
localMediaStream.addTrack(localVideoTrack);
|
||||
localVideoTrack.setEnabled(false);
|
||||
|
||||
localVideoTrack.addSink(pipVideoView);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user