mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +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);
|
||||
ibUnsubscribe.setVisibility(message.unsubscribe == null ? View.GONE : View.VISIBLE);
|
||||
ibJunk.setVisibility(
|
||||
message.uid == null || message.folderReadOnly &&
|
||||
(hasJunk && !EntityFolder.JUNK.equals(message.folderType))
|
||||
message.uid == null || message.folderReadOnly ||
|
||||
!hasJunk || EntityFolder.JUNK.equals(message.folderType)
|
||||
? View.GONE : View.VISIBLE);
|
||||
ibDecrypt.setVisibility(View.GONE);
|
||||
ibVerify.setVisibility(View.GONE);
|
||||
|
|
Loading…
Reference in a new issue