Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b6b0e23 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Only show SIM indicator when there is more than one SIM

parent 37d8c453
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -224,8 +224,8 @@ class MessagesAdapter @Inject constructor(

        holder.binding.timestamp.setVisible(timeSincePrevious >= BubbleUtils.TIMESTAMP_THRESHOLD
                || message.subId != previous?.subId && subscription != null)
        holder.binding.sim.setVisible(message.subId != previous?.subId && subscription != null)
        holder.binding.simIndex.setVisible(message.subId != previous?.subId && subscription != null)
        holder.binding.sim.setVisible(message.subId != previous?.subId && subscription != null && subs.size > 1)
        holder.binding.simIndex.setVisible(message.subId != previous?.subId && subscription != null && subs.size > 1)

        // Bind the grouping
        val media = message.parts.filter { !it.isSmil() && !it.isText() }