From 0ab36ff513cc1c9efe8fc687afd1af058b7951d6 Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Sat, 10 Nov 2018 00:31:43 -0500 Subject: [PATCH] chore: no hide size to keep the view structure --- .gitlab-ci.yml | 2 +- .../main/java/org/dystopia/email/AdapterMessage.java | 11 +++++------ app/src/main/res/layout/item_message_compact.xml | 2 +- app/src/main/res/layout/item_message_normal.xml | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 92ff60f2..bd3d1715 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,4 +99,4 @@ release: script: - npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/gitlab - git checkout $CI_COMMIT_SHA - - semantic-release -p @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/gitlab --debug + - semantic-release -p @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/gitlab diff --git a/app/src/main/java/org/dystopia/email/AdapterMessage.java b/app/src/main/java/org/dystopia/email/AdapterMessage.java index 4f241985..b2c3dad2 100644 --- a/app/src/main/java/org/dystopia/email/AdapterMessage.java +++ b/app/src/main/java/org/dystopia/email/AdapterMessage.java @@ -319,14 +319,13 @@ public class AdapterMessage extends PagedListAdapter 0 ? View.VISIBLE : View.GONE); tvSubject.setText(message.subject); tvFolder.setVisibility(View.GONE); tvAccount.setVisibility(View.GONE); - + if (viewType == ViewType.UNIFIED || viewType == ViewType.FOLDER) { tvAccount.setText(message.accountName); tvAccount.setVisibility(View.VISIBLE); @@ -382,7 +381,7 @@ public class AdapterMessage extends PagedListAdapter + app:layout_constraintTop_toBottomOf="@id/tvSize" /> + app:layout_constraintTop_toBottomOf="@+id/tvSize" />