Fixing issue with empty Session screen

feature/top10
Laurent 7 years ago
parent 93a302bf5b
commit 67fbe15a7e
  1. 2
      app/src/main/java/net/pokeranalytics/android/model/realm/Session.kt
  2. 2
      app/src/main/java/net/pokeranalytics/android/ui/fragment/SessionFragment.kt

@ -575,7 +575,7 @@ open class Session : RealmObject(), Manageable, StaticRowRepresentableDataSource
return rows
}
private fun updateRowRepresentation() {
fun updateRowRepresentation() {
this.rowRepresentationForCurrentState = this.updatedRowRepresentationForCurrentState()
}

@ -149,6 +149,8 @@ class SessionFragment : PokerAnalyticsFragment(), RowRepresentableDelegate {
*/
private fun updateSessionUI() {
this.currentSession.updateRowRepresentation()
handler.removeCallbacksAndMessages(null)
when (currentSession.getState()) {

Loading…
Cancel
Save