Skip to content

Commit

Permalink
fuck detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
LuftVerbot committed Jul 18, 2024
1 parent 20a8e79 commit a09c143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ object SettingsAppearanceScreen : SearchableSettings {
}

@Composable
@Suppress("SpreadOperator")
private fun getThemeGroup(
uiPreferences: UiPreferences,
): Preference.PreferenceGroup {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.ImageBitmapConfig
import androidx.compose.ui.graphics.LinearGradientShader
import androidx.compose.ui.graphics.Paint
import androidx.compose.ui.graphics.PaintingStyle
import androidx.compose.ui.graphics.TileMode
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.unit.Dp
Expand All @@ -40,13 +39,6 @@ fun CustomBrightnessSlider(
alpha = 1.0f
}

// Set up the paint for the border if necessary
val borderPaint = Paint().apply {
style = PaintingStyle.Stroke
strokeWidth = with(LocalDensity.current) { borderSize.toPx() }
color = borderColor
}

// This function creates the ImageBitmap for the gradient background of the slider
@Composable
fun rememberSliderGradientBitmap(
Expand Down

0 comments on commit a09c143

Please sign in to comment.