Skip to content

Commit bab1f67

Browse files
committed
chore/#208 : ktlint format
1 parent dc825a8 commit bab1f67

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

app/src/main/java/com/depromeet/team6/presentation/ui/bus/component/BusStationItem.kt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ fun BusStationItem(
5757
afterTurnPoint -> 0.3f to 0.3f
5858
else -> 1f to 1f
5959
}
60-
val backgroundModifier = if (isCurrentStation) modifier.background(
61-
color = Team6Theme.colors.gray930
62-
) else modifier
60+
val backgroundModifier = if (isCurrentStation) {
61+
modifier.background(
62+
color = Team6Theme.colors.gray930
63+
)
64+
} else {
65+
modifier
66+
}
6367
Row(
6468
modifier = backgroundModifier
6569
.fillMaxWidth()

app/src/main/java/com/depromeet/team6/presentation/ui/home/HomeScreen.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.depromeet.team6.presentation.ui.home
22

3-
import android.app.Activity
43
import android.content.Context
54
import android.widget.Toast
65
import androidx.activity.compose.rememberLauncherForActivityResult
@@ -34,8 +33,6 @@ import androidx.compose.ui.res.vectorResource
3433
import androidx.compose.ui.tooling.preview.Preview
3534
import androidx.compose.ui.unit.dp
3635
import androidx.compose.ui.zIndex
37-
import androidx.core.view.WindowCompat
38-
import androidx.core.view.WindowInsetsControllerCompat
3936
import androidx.hilt.navigation.compose.hiltViewModel
4037
import androidx.lifecycle.DefaultLifecycleObserver
4138
import androidx.lifecycle.LifecycleOwner
@@ -641,7 +638,7 @@ fun HomeScreen(
641638
contentDescription = stringResource(R.string.mypage_icon_description),
642639
modifier = Modifier
643640
.align(Alignment.TopEnd)
644-
.padding(top = WindowInsets.statusBars.asPaddingValues().calculateTopPadding()+12.dp, end = 16.dp)
641+
.padding(top = WindowInsets.statusBars.asPaddingValues().calculateTopPadding() + 12.dp, end = 16.dp)
645642
.clickable {
646643
navigateToMypage()
647644
}

0 commit comments

Comments
 (0)