Improve Session game update

feature/top10
Aurelien Hubert 7 years ago
parent c95cba6413
commit ec4892f6e2
  1. 3
      app/src/main/java/net/pokeranalytics/android/model/realm/Session.kt
  2. 1
      app/src/main/java/net/pokeranalytics/android/ui/fragment/components/bottomsheet/BottomSheetListGameFragment.kt

@ -774,9 +774,12 @@ open class Session : RealmObject(), SessionInterface, Manageable, StaticRowRepre
} catch (e: Exception) {
null
}
} else if (value is Game?) {
game = value
} else if (value == null) {
limit = null
game = null
}
}
SessionRow.INITIAL_BUY_IN -> tournamentEntryFee = if (value == null) null else (value as String).toDouble()

@ -38,7 +38,6 @@ class BottomSheetListGameFragment : BottomSheetListFragment() {
dismiss()
}
}
super.onRowSelected(position, row, fromAction)
}
/**

Loading…
Cancel
Save