Disabled reduced spaces between same sender chat messages
This commit is contained in:
parent
d983879235
commit
69817fc610
2 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@
|
|||
<bool name="disable_chat_send_file">false</bool>
|
||||
<string name="temp_photo_name">linphone-android-photo-temp</string>
|
||||
<string name="temp_photo_name_with_date">linphone-android-photo-%s</string>
|
||||
<bool name="lower_space_between_chat_bubbles_if_same_person">false</bool>
|
||||
|
||||
<!-- Contacts -->
|
||||
<bool name="hide_contact_phone_numbers">false</bool>
|
||||
|
|
|
@ -207,7 +207,7 @@ public class ChatEventsAdapter extends ListSelectionAdapter {
|
|||
holder.bubbleLayout.setVisibility(View.VISIBLE);
|
||||
final ChatMessage message = event.getChatMessage();
|
||||
|
||||
if (i > 0) {
|
||||
if (i > 0 && mContext.getResources().getBoolean(R.bool.lower_space_between_chat_bubbles_if_same_person)) {
|
||||
EventLog previousEvent = (EventLog)getItem(i-1);
|
||||
if (previousEvent.getType() == EventLog.Type.ConferenceChatMessage) {
|
||||
ChatMessage previousMessage = previousEvent.getChatMessage();
|
||||
|
|
Loading…
Reference in a new issue