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
|
package com.simplemobiletools.flashlight.screens
|
||||||
|
|
||||||
|
import androidx.annotation.ColorInt
|
||||||
|
import androidx.annotation.DrawableRes
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.clickable
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
@ -25,7 +27,9 @@ import com.simplemobiletools.flashlight.helpers.AppDimensions
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
internal fun WidgetConfigureScreen(
|
internal fun WidgetConfigureScreen(
|
||||||
|
@DrawableRes
|
||||||
widgetDrawable: Int,
|
widgetDrawable: Int,
|
||||||
|
@ColorInt
|
||||||
widgetColor: Int,
|
widgetColor: Int,
|
||||||
widgetAlpha: Float,
|
widgetAlpha: Float,
|
||||||
onSliderChanged: (Float) -> Unit,
|
onSliderChanged: (Float) -> Unit,
|
||||||
|
Reference in New Issue
Block a user