Skip to content

Commit

Permalink
Fix detekt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mmartosdev committed Oct 26, 2023
1 parent 6ea9002 commit 9b5c62f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ private const val TEXT_COLOR_SECONDARY = 0xFFF36F21
private const val BACKGROUND_GRADIENT_OFFSET = 0.4f

@Composable
fun DroidconLondonHalloweenSpecial() {

fun DroidconLondonHalloweenSpecial(
modifier: Modifier = Modifier,
) {

val infiniteTransition = rememberInfiniteTransition()

Expand All @@ -55,7 +58,7 @@ fun DroidconLondonHalloweenSpecial() {
)
)
Column(
modifier = Modifier
modifier = modifier
.fillMaxSize()
.background(
brush = Brush.verticalGradient(
Expand Down Expand Up @@ -93,6 +96,7 @@ fun DroidconLondonHalloweenSpecial() {
}
}

@Suppress("MagicNumber")
fun Modifier.rotatingGradientFill(rotation: Float, brush: Brush) =
graphicsLayer(alpha = 0.99f)
.drawWithCache {
Expand Down

0 comments on commit 9b5c62f

Please sign in to comment.