|
|
|
@ -68,7 +68,7 @@ open class Game : RealmObject(), Manageable, StaticRowRepresentableDataSource, R |
|
|
|
override fun updateValue(value: Any?, row: RowRepresentable) { |
|
|
|
override fun updateValue(value: Any?, row: RowRepresentable) { |
|
|
|
when (row) { |
|
|
|
when (row) { |
|
|
|
SimpleRow.NAME -> this.name = value as String? ?: "" |
|
|
|
SimpleRow.NAME -> this.name = value as String? ?: "" |
|
|
|
GameRow.SHORT_NAME -> this.shortName = value as String |
|
|
|
GameRow.SHORT_NAME -> this.shortName = value as String? ?: "" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|