chickenfresh
08/30/2018, 10:09 PMvar curSelectedChat = SimpleObjectProperty<ChatViewInstance>()
ChatViewInstance
is sealed class
I’m trying center = when (curSelectedChat.value) { is ChatViewInstance.Test -> label("test") else -> label("another test")}