Skip to content

Commit

Permalink
🤖 Apply Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mlykotom authored and github-actions[bot] committed Apr 26, 2024
1 parent c368a4f commit bd334fa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ import com.example.jetcaster.util.verticalGradientScrim
import com.google.accompanist.adaptive.HorizontalTwoPaneStrategy
import com.google.accompanist.adaptive.TwoPane
import com.google.accompanist.adaptive.VerticalTwoPaneStrategy
import kotlinx.coroutines.launch
import java.time.Duration
import kotlinx.coroutines.launch

/**
* Stateful version of the Podcast player
Expand Down Expand Up @@ -271,10 +271,10 @@ fun PlayerContent(
// or we have an impactful horizontal fold. Otherwise, we'll use a horizontal strategy.
val usingVerticalStrategy =
isTableTopPosture(foldingFeature) ||
(
isSeparatingPosture(foldingFeature) &&
foldingFeature.orientation == FoldingFeature.Orientation.HORIZONTAL
)
(
isSeparatingPosture(foldingFeature) &&
foldingFeature.orientation == FoldingFeature.Orientation.HORIZONTAL
)

if (usingVerticalStrategy) {
TwoPane(
Expand Down

0 comments on commit bd334fa

Please sign in to comment.