Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
rozPierog committed Jul 22, 2022
1 parent 0b7c76f commit 64eb6a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/omelan/cofi/components/StepItem.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ fun StepListItemPreview() {
step = Step(
id = 0,
name = "Somebody once told me the world is gonna roll me I ain't the sharpest " +
"tool in the shed She was looking kind of dumb with her finger and her thumb " +
"In the shape of an \"L\" on her forehead",
"tool in the shed She was looking kind of dumb with her finger and her thumb " +
"In the shape of an \"L\" on her forehead",
time = 35.toMillis(),
type = StepType.WATER,
value = 60,
Expand Down
22 changes: 11 additions & 11 deletions app/src/main/java/com/omelan/cofi/pages/RecipeDetails.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ import android.app.PictureInPictureParams
import android.graphics.Rect
import android.media.MediaPlayer
import android.os.Build
import android.util.Log
import android.util.Rational
import androidx.annotation.RequiresApi
import androidx.compose.animation.*
import androidx.compose.animation.core.*
import androidx.compose.animation.Animatable
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.AnimationEndReason
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.tween
import androidx.compose.animation.graphics.ExperimentalAnimationGraphicsApi
import androidx.compose.animation.graphics.res.animatedVectorResource
import androidx.compose.animation.graphics.res.rememberAnimatedVectorPainter
Expand All @@ -26,13 +28,8 @@ import androidx.compose.foundation.lazy.*
import androidx.compose.foundation.selection.toggleable
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.*
import androidx.compose.material.icons.rounded.ArrowBack
import androidx.compose.material3.*
import androidx.compose.material3.FloatingActionButtonDefaults
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose.material3.windowsizeclass.ExperimentalMaterial3WindowSizeClassApi
import androidx.compose.material3.windowsizeclass.WindowSizeClass
import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass
Expand All @@ -46,7 +43,10 @@ import androidx.compose.ui.graphics.toAndroidRect
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.layout.boundsInWindow
import androidx.compose.ui.layout.onGloballyPositioned
import androidx.compose.ui.platform.*
import androidx.compose.ui.platform.LocalClipboardManager
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.AnnotatedString
Expand Down Expand Up @@ -298,7 +298,7 @@ fun RecipeDetails(
) {
derivedStateOf {
windowSizeClass.widthSizeClass == WindowWidthSizeClass.Compact ||
(configuration.screenHeightDp / configuration.screenWidthDp.toFloat() > 1.3)
(configuration.screenHeightDp / configuration.screenWidthDp.toFloat() > 1.3)
}
}

Expand Down

0 comments on commit 64eb6a9

Please sign in to comment.