mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
Add annotations for Int
values in WidgetConfigureScreen for clarity
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user