Skip to content

Commit

Permalink
Merge pull request #130 from bumble-tech/fix-detekt-issues
Browse files Browse the repository at this point in the history
Fix detekt issues
  • Loading branch information
mmartosdev authored Oct 26, 2023
2 parents 19a7a38 + 9b5c62f commit f0fdc0f
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 f0fdc0f

Please sign in to comment.