mirror of
https://github.com/etesync/android
synced 2024-11-16 04:49:06 +00:00
Collection header: set owner visibility to gone when there's no owner.
This commit is contained in:
parent
1cf1d0f5b0
commit
a3e4fc48ab
@ -98,6 +98,7 @@ public class ViewCollectionActivity extends BaseActivity implements Refreshable
|
||||
if (account.name.equals(journalEntity.getOwner())) {
|
||||
owner.setVisibility(View.GONE);
|
||||
} else {
|
||||
owner.setVisibility(View.VISIBLE);
|
||||
owner.setText(getString(R.string.account_owner, journalEntity.getOwner()));
|
||||
}
|
||||
}
|
||||
|
@ -39,5 +39,6 @@
|
||||
android:id="@+id/owner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
tools:text="Owner: some@email.com"/>
|
||||
</LinearLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user