Merge pull request #1223 from nextcloud/lockIcon

Remove lock icon in conversation list
This commit is contained in:
Andy Scherzinger 2021-05-06 19:50:46 +02:00 committed by GitHub
commit 8ee33bb251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>