Don't show AM/PM for 24 hour systems

This commit is contained in:
Sad Ellie 2023-10-14 22:44:08 +03:00
parent 7c53768c01
commit 0d9a3226f5

View File

@ -99,6 +99,7 @@ internal fun DateTimeSelectorBlock(
) )
} }
if (is24Hour) {
AnimatedContent( AnimatedContent(
targetState = dateTime, targetState = dateTime,
transitionSpec = { transitionSpec = {
@ -115,6 +116,7 @@ internal fun DateTimeSelectorBlock(
) )
} }
} }
}
AnimatedContent( AnimatedContent(
targetState = dateTime, targetState = dateTime,