Suppress warning for ModifierComposed (detekt)

This commit is contained in:
Benoit Marty 2024-05-17 16:57:08 +02:00 committed by Benoit Marty
parent f82ab91f6e
commit e77f5f2bd7

View file

@ -168,6 +168,7 @@ data class BloomLayer(
* @param bottomSoftEdgeAlpha The alpha value to apply to the bottom soft edge. * @param bottomSoftEdgeAlpha The alpha value to apply to the bottom soft edge.
* @param alpha The alpha value to apply to the bloom effect. * @param alpha The alpha value to apply to the bloom effect.
*/ */
@SuppressWarnings("ModifierComposed")
fun Modifier.bloom( fun Modifier.bloom(
hash: String?, hash: String?,
background: Color, background: Color,
@ -312,6 +313,7 @@ fun Modifier.bloom(
* @param bottomSoftEdgeAlpha The alpha value to apply to the bottom soft edge. * @param bottomSoftEdgeAlpha The alpha value to apply to the bottom soft edge.
* @param alpha The alpha value to apply to the bloom effect. * @param alpha The alpha value to apply to the bloom effect.
*/ */
@SuppressWarnings("ModifierComposed")
fun Modifier.avatarBloom( fun Modifier.avatarBloom(
avatarData: AvatarData, avatarData: AvatarData,
background: Color, background: Color,