mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
Fix time zone label animation
This commit is contained in:
parent
ccc7a2da4d
commit
f15dd1b6f8
@ -38,6 +38,7 @@ import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.heightIn
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
@ -229,6 +230,7 @@ private fun TimeZoneLabel(
|
||||
if (blank) {
|
||||
AnimatedVisibility(expanded) {
|
||||
Row(
|
||||
modifier = Modifier.height(24.dp),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
Icon(
|
||||
@ -243,6 +245,7 @@ private fun TimeZoneLabel(
|
||||
}
|
||||
} else {
|
||||
Row(
|
||||
modifier = Modifier.height(24.dp),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
AnimatedVisibility(visible = expanded) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user