mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Query network stats
This commit is contained in:
@@ -314,15 +314,10 @@ fun MyScaffold(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun UpOrDownTextFieldTrailingIconButton(active: Boolean, onClick: () -> Unit) {
|
||||
fun ExpandExposedTextFieldIcon(active: Boolean) {
|
||||
val degrees by animateFloatAsState(if(active) 180F else 0F)
|
||||
IconButton(
|
||||
onClick = onClick,
|
||||
modifier = Modifier.clip(RoundedCornerShape(50))
|
||||
) {
|
||||
Icon(
|
||||
imageVector = Icons.Default.ArrowDropDown, contentDescription = null,
|
||||
modifier = Modifier.rotate(degrees)
|
||||
)
|
||||
}
|
||||
Icon(
|
||||
imageVector = Icons.Default.ArrowDropDown, contentDescription = null,
|
||||
modifier = Modifier.rotate(degrees)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user