|
|
|
|
@ -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]) { |
|
|
|
|
|