|
|
|
|
@ -36,13 +36,13 @@ enum class CustomFieldRow : RowRepresentable, DefaultEditDataSource { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override val choices: List<CustomField.Type>? |
|
|
|
|
get() { |
|
|
|
|
return when (this) { |
|
|
|
|
TYPE -> CustomField.Type.values().toList() |
|
|
|
|
else -> null |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// override val choices: List<CustomField.Type>? |
|
|
|
|
// get() { |
|
|
|
|
// return when (this) { |
|
|
|
|
// TYPE -> CustomField.Type.values().toList() |
|
|
|
|
// else -> null |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
fun getChoices(currentChoiceIndex: Int, isUpdating: Boolean): List<CustomField.Type>? { |
|
|
|
|
val list = CustomField.Type.values().toList() |
|
|
|
|
|