From 5ead8deb86cd1ef5a36e7a3ece0f7cf20fa36804 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 18 Mar 2017 17:21:54 +0100 Subject: [PATCH] do not cast radiogroup to String --- .../kotlin/com/simplemobiletools/commons/models/RadioItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/models/RadioItem.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/models/RadioItem.kt index c65f8961e..9a5a64811 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/models/RadioItem.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/models/RadioItem.kt @@ -1,3 +1,3 @@ package com.simplemobiletools.commons.models -data class RadioItem(val id: Int, val title: String, val value: Any = id.toString()) +data class RadioItem(val id: Int, val title: String, val value: Any = id)