glade
01/21/2020, 1:37 AMSvyatoslav Kuzmich [JB]
01/21/2020, 1:51 AMSvyatoslav Kuzmich [JB]
01/21/2020, 1:54 AMglade
01/21/2020, 2:08 AMglade
01/21/2020, 2:09 AMClassifier 'PresetType' does not have a companion object, and thus must be initialized here
glade
01/21/2020, 2:09 AMPresetType.values()
outputs an array without keynames, and broken fields.glade
01/21/2020, 2:09 AMSvyatoslav Kuzmich [JB]
01/21/2020, 2:31 AMglade
01/21/2020, 2:35 AMSvyatoslav Kuzmich [JB]
01/21/2020, 2:38 AMPresetType.values().map { it.name }
should produce a list of names. Is it broken for you?turansky
01/21/2020, 1:29 PMPresetType
is external
enum, isn't it?Svyatoslav Kuzmich [JB]
01/21/2020, 1:30 PM.values()
but regular enums should work fineglade
01/21/2020, 7:43 PM