Skip to content
Prev Previous commit
Next Next commit
[Jetnews] Apply spotless fixes
  • Loading branch information
JolandaVerhoef committed Dec 14, 2020
commit 741b5ada2e3445faec8d8247dc9d7ad93f8f94ff
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ fun SwipeToRefreshLayout(
)
) {
content()
Box(Modifier
.align(Alignment.TopCenter)
.offset { IntOffset(0, state.offset.value.roundToInt()) }
Box(
Modifier
.align(Alignment.TopCenter)
.offset { IntOffset(0, state.offset.value.roundToInt()) }
) {
if (state.offset.value != -refreshDistance) {
refreshIndicator()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.example.jetnews.ui.theme

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.Colors
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
Expand Down