kmm_hh
Laurent 5 years ago
parent b7d398b79b
commit b51f065b1e
  1. 4
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt

@ -30,6 +30,7 @@ import net.pokeranalytics.android.util.extensions.findById
import net.pokeranalytics.android.util.extensions.formatted
import timber.log.Timber
import java.text.DecimalFormat
import java.text.ParseException
import kotlin.coroutines.CoroutineContext
import kotlin.reflect.KClass
@ -531,6 +532,9 @@ class EditorViewModel : ViewModel(), RowRepresentableDataSource, CardCentralizer
} catch (e: NumberFormatException) {
Timber.w("Parsing exception: ${e.message}")
return
} catch (e: ParseException) {
Timber.w("Parsing exception: ${e.message}")
return
}
when (val row = this.rowRepresentables[this.currentSelection.index]) {

Loading…
Cancel
Save