[Events] Fix event sorting. Fix showing event teacher name.

This commit is contained in:
Kuba Szczodrzyński
2020-03-29 15:26:48 +02:00
parent bc0918a115
commit c6e1ff2164
7 changed files with 11 additions and 11 deletions

View File

@ -107,13 +107,13 @@
android:layout_height="wrap_content"
android:textAppearance="@style/NavView.TextView.Helper"
android:text="@string/dialog_event_details_teacher"
android:visibility="@{event.teacherFullName != null ? View.VISIBLE : View.GONE}"/>
android:visibility="@{event.teacherName != null ? View.VISIBLE : View.GONE}"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@{event.teacherFullName}"
android:text="@{event.teacherName}"
android:textIsSelectable="true"
android:visibility="@{event.teacherFullName != null ? View.VISIBLE : View.GONE}"
android:visibility="@{event.teacherName != null ? View.VISIBLE : View.GONE}"
tools:text="Janósz Kowalski" />
<TextView