Removes time measuring log
This commit is contained in:
@@ -74,7 +74,6 @@ import com.vitorpamplona.amethyst.ui.theme.Size30Modifier
|
|||||||
import com.vitorpamplona.amethyst.ui.theme.grayText
|
import com.vitorpamplona.amethyst.ui.theme.grayText
|
||||||
import com.vitorpamplona.amethyst.ui.theme.placeholderText
|
import com.vitorpamplona.amethyst.ui.theme.placeholderText
|
||||||
import com.vitorpamplona.amethyst.ui.theme.subtleButton
|
import com.vitorpamplona.amethyst.ui.theme.subtleButton
|
||||||
import kotlin.time.measureTimedValue
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun AmethystIcon(iconSize: Dp) {
|
fun AmethystIcon(iconSize: Dp) {
|
||||||
@@ -88,16 +87,12 @@ fun AmethystIcon(iconSize: Dp) {
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun FollowingIcon(iconSize: Dp) {
|
fun FollowingIcon(iconSize: Dp) {
|
||||||
val (value, elapsed) =
|
|
||||||
measureTimedValue {
|
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Following,
|
imageVector = Following,
|
||||||
contentDescription = stringResource(id = R.string.following),
|
contentDescription = stringResource(id = R.string.following),
|
||||||
modifier = Modifier.size(iconSize),
|
modifier = Modifier.size(iconSize),
|
||||||
tint = Color.Unspecified,
|
tint = Color.Unspecified,
|
||||||
)
|
)
|
||||||
}
|
|
||||||
println("FollowingIcon $elapsed")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
|
|||||||
Reference in New Issue
Block a user