diff --git a/src/main/java/com/nutomic/syncthingandroid/util/ReposAdapter.java b/src/main/java/com/nutomic/syncthingandroid/util/ReposAdapter.java index 1f4f66f2..17576c11 100644 --- a/src/main/java/com/nutomic/syncthingandroid/util/ReposAdapter.java +++ b/src/main/java/com/nutomic/syncthingandroid/util/ReposAdapter.java @@ -56,10 +56,10 @@ public class ReposAdapter extends ArrayAdapter size.setText(RestApi.readableFileSize(getContext(), model.localBytes) + " / " + RestApi.readableFileSize(getContext(), model.globalBytes)); invalid.setText(model.invalid); - invalid.setVisibility((model.invalid.equals("")) ? View.INVISIBLE : View.VISIBLE); + invalid.setVisibility((model.invalid.equals("")) ? View.GONE : View.VISIBLE); } else { - invalid.setVisibility(View.INVISIBLE); + invalid.setVisibility(View.GONE); } return convertView; diff --git a/src/main/res/layout/repo_list_item.xml b/src/main/res/layout/repo_list_item.xml index 88a750cf..1b1a3c2b 100644 --- a/src/main/res/layout/repo_list_item.xml +++ b/src/main/res/layout/repo_list_item.xml @@ -45,8 +45,8 @@ + android:layout_height="wrap_content" />