mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Fixed junk button visibility
This commit is contained in:
parent
3b548dab16
commit
4f442c934f
1 changed files with 2 additions and 2 deletions
|
@ -1161,8 +1161,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
ibImages.setVisibility(View.GONE);
|
ibImages.setVisibility(View.GONE);
|
||||||
ibUnsubscribe.setVisibility(message.unsubscribe == null ? View.GONE : View.VISIBLE);
|
ibUnsubscribe.setVisibility(message.unsubscribe == null ? View.GONE : View.VISIBLE);
|
||||||
ibJunk.setVisibility(
|
ibJunk.setVisibility(
|
||||||
message.uid == null || message.folderReadOnly &&
|
message.uid == null || message.folderReadOnly ||
|
||||||
(hasJunk && !EntityFolder.JUNK.equals(message.folderType))
|
!hasJunk || EntityFolder.JUNK.equals(message.folderType)
|
||||||
? View.GONE : View.VISIBLE);
|
? View.GONE : View.VISIBLE);
|
||||||
ibDecrypt.setVisibility(View.GONE);
|
ibDecrypt.setVisibility(View.GONE);
|
||||||
ibVerify.setVisibility(View.GONE);
|
ibVerify.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue