File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
app/src/main/java/com/depromeet/team6/presentation/ui Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff 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()
Original file line number Diff line number Diff line change 11package com.depromeet.team6.presentation.ui.home
22
3- import android.app.Activity
43import android.content.Context
54import android.widget.Toast
65import androidx.activity.compose.rememberLauncherForActivityResult
@@ -34,8 +33,6 @@ import androidx.compose.ui.res.vectorResource
3433import androidx.compose.ui.tooling.preview.Preview
3534import androidx.compose.ui.unit.dp
3635import androidx.compose.ui.zIndex
37- import androidx.core.view.WindowCompat
38- import androidx.core.view.WindowInsetsControllerCompat
3936import androidx.hilt.navigation.compose.hiltViewModel
4037import androidx.lifecycle.DefaultLifecycleObserver
4138import 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 }
You can’t perform that action at this time.
0 commit comments