From f0a35980974ad353a27bdf894c4b95ecefa508ce Mon Sep 17 00:00:00 2001 From: Kanro Date: Tue, 17 Oct 2023 23:58:31 +0800 Subject: [PATCH] Update core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvider.kt Co-authored-by: Sebastiano Poggi --- .../kotlin/org/jetbrains/jewel/painter/PainterProvider.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvider.kt b/core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvider.kt index f5b531e727..f144275370 100644 --- a/core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvider.kt +++ b/core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvider.kt @@ -6,10 +6,10 @@ import androidx.compose.runtime.State import androidx.compose.ui.graphics.painter.Painter /** - * Provide [Painter] by specified [PainterHint], implementations should handle - * all [PainterHint] correctly, at now, it only need to call [PainterPathHint.patch] and - * [PainterSvgPatchHint.patch] correctly. - * Also [PainterProvider] should hold the resource path and [ClassLoader] references. + * Implementations of this interface should handle the passed [PainterHint]s correctly. + * For now, this means calling [PainterPathHint.patch] and [PainterSvgPatchHint.patch]. + * Most likely, a [PainterProvider] should also hold the resource path and [ClassLoader] + * references. */ @Immutable interface PainterProvider {