Add annotations for Int values in WidgetConfigureScreen for clarity

This commit is contained in:
Ensar Sarajčić
2023-10-03 13:13:59 +02:00
parent 3323b2fb70
commit 17946431ba

View File

@ -1,5 +1,7 @@
package com.simplemobiletools.flashlight.screens
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
@ -25,7 +27,9 @@ import com.simplemobiletools.flashlight.helpers.AppDimensions
@Composable
internal fun WidgetConfigureScreen(
@DrawableRes
widgetDrawable: Int,
@ColorInt
widgetColor: Int,
widgetAlpha: Float,
onSliderChanged: (Float) -> Unit,