Skip to content

Commit a08590d

Browse files
committed
Make inline function for the colorPickerDialog() extension
1 parent 47228b1 commit a08590d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colorpickerview/src/main/java/com/skydoves/colorpickerview/kotlin/ColorPickerDialogExtension.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal annotation class ColorPickerDsl
2828
* @param block lambda scope for receiving [ColorPickerDialog.Builder].
2929
* @return new instance of [ColorPickerDialog].
3030
*/
31-
@ColorPickerDsl
3231
@JvmSynthetic
33-
fun Context.colorPickerDialog(block: ColorPickerDialog.Builder.() -> Unit) =
32+
@ColorPickerDsl
33+
inline fun Context.colorPickerDialog(block: ColorPickerDialog.Builder.() -> Unit) =
3434
ColorPickerDialog.Builder(this).apply(block)

0 commit comments

Comments
 (0)