Skip to content

Commit 408f23b

Browse files
Update fluentui_progress/src/main/java/com/microsoft/fluentui/tokenized/shimmer/Shimmer.kt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 166e388 commit 408f23b

File tree

1 file changed

+3
-2
lines changed
  • fluentui_progress/src/main/java/com/microsoft/fluentui/tokenized/shimmer

1 file changed

+3
-2
lines changed

fluentui_progress/src/main/java/com/microsoft/fluentui/tokenized/shimmer/Shimmer.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ internal fun InternalShimmer(
106106
} else {
107107
shimmerDelay
108108
}
109-
val orientation: ShimmerOrientation = if(tokens.orientation(shimmerInfo) != ShimmerOrientation._NONE){
110-
tokens.orientation(shimmerInfo)
109+
val tokenOrientation = tokens.orientation(shimmerInfo)
110+
val orientation: ShimmerOrientation = if(tokenOrientation != ShimmerOrientation._NONE){
111+
tokenOrientation
111112
} else {
112113
shimmerOrientation
113114
}

0 commit comments

Comments
 (0)