Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.0.17' propVersionName = '3.0.20' kotlin_version = '1.2.0' support_libs = '27.0.2' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/views/LineColorPicker.kt +2 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,8 @@ class LineColorPicker(context: Context, attrs: AttributeSet) : LinearLayout(cont updateItemMargin(lastColorIndex, false) } fun getCurrentColor() = colors[lastColorIndex] // do not remove ": Int", it causes "NoSuchMethodError" for some reason fun getCurrentColor(): Int = colors[lastColorIndex] private fun initColorPicker() { removeAllViews() Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.0.17' propVersionName = '3.0.20' kotlin_version = '1.2.0' support_libs = '27.0.2' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/views/LineColorPicker.kt +2 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,8 @@ class LineColorPicker(context: Context, attrs: AttributeSet) : LinearLayout(cont updateItemMargin(lastColorIndex, false) } fun getCurrentColor() = colors[lastColorIndex] // do not remove ": Int", it causes "NoSuchMethodError" for some reason fun getCurrentColor(): Int = colors[lastColorIndex] private fun initColorPicker() { removeAllViews() Loading