You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currentProgressToBeReturned: (Float) ->Unit, //Float type value to be returned..to it's parent composable using State hoisting - we're passing currentPercentage to the parent composable
80
-
currentUpdatedValue:String = ""
83
+
currentUpdatedValue:String = "",
84
+
onTouchEnabled:Boolean = true,
85
+
onDragEnabled:Boolean = true,
81
86
) {
82
87
var radius by remember {
83
88
mutableStateOf(0f)
@@ -111,7 +116,8 @@ fun CircularProgressBar(
111
116
112
117
var currentValue by remember { mutableStateOf(0f) }
113
118
LaunchedEffect(key1 = animatedAngle) {
114
-
currentValue =if (angle <1.5) 0felse ((animatedAngle +3f) * maxNum /360) // + 3f to show 100% in the slider
119
+
currentValue =
120
+
if (angle <1.5) 0felse ((animatedAngle +3f) * maxNum /360) // + 3f to show 100% in the slider
115
121
}
116
122
117
123
var currentPercentage by remember { mutableStateOf(0f) }
0 commit comments