remove lock icon in conversations list

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-05-06 16:58:19 +02:00
parent bf1b4f97b7
commit 39de278b7d
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
5 changed files with 3 additions and 20 deletions

View file

@ -162,13 +162,6 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
holder.dialogUnreadBubble.setVisibility(View.GONE);
}
if (conversation.isHasPassword()) {
holder.passwordProtectedRoomImageView.setVisibility(View.VISIBLE);
} else {
holder.passwordProtectedRoomImageView.setVisibility(View.GONE);
}
if (conversation.isFavorite()) {
holder.pinnedConversationImageView.setVisibility(View.VISIBLE);
} else {
@ -286,8 +279,6 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
EmojiTextView dialogLastMessage;
@BindView(R.id.dialogUnreadBubble)
Chip dialogUnreadBubble;
@BindView(R.id.passwordProtectedRoomImageView)
ImageView passwordProtectedRoomImageView;
@BindView(R.id.favoriteConversationImageView)
ImageView pinnedConversationImageView;

View file

@ -23,7 +23,7 @@
<item>
<shape
android:shape="oval">
<solid android:color="@color/white"/>
<solid android:color="@color/bg_default"/>
</shape>
</item>
<item android:drawable="@drawable/ic_lock_grey600_24px"/>

View file

@ -46,14 +46,6 @@
app:roundAsCircle="true"
tools:src="@drawable/ic_call_black_24dp" />
<ImageView
android:id="@+id/passwordProtectedRoomImageView"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="bottom|end"
android:background="@drawable/shape_lock_bubble"
android:contentDescription="@string/password_protected" />
<ImageView
android:id="@+id/favoriteConversationImageView"
android:layout_width="16dp"

View file

@ -1 +1 @@
485
484

View file

@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 3 errors and 348 warnings</span>
<span class="mdl-layout-title">Lint Report: 3 errors and 347 warnings</span>