mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Fix last message author bolding
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f68b8854e9
commit
115f25c0c1
2 changed files with 2 additions and 3 deletions
|
@ -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 a new issue