Skip to content

Commit

Permalink
[REFACTOR/#31] 리뷰 기반 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Jul 11, 2024
1 parent db3154b commit 8b4289b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import com.terning.core.designsystem.theme.TerningTheme

@Composable
fun MyPageTopAppBar(
modifier: Modifier,
modifier: Modifier = Modifier,
) {
TerningBasicTopAppBar(
showBackButton = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ fun TerningBasicTopAppBar(
}
},
colors = TopAppBarDefaults.topAppBarColors(White),
windowInsets = WindowInsets(0, 0, 0, 0),
windowInsets = WindowInsets(
left = 0,
top = 0,
right = 0,
bottom = 0
),
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
import androidx.navigation.NavOptions
import androidx.navigation.compose.composable
import com.terning.core.navigation.MainTabRoute
import com.terning.core.navigation.Route
import com.terning.feature.searchprocess.SearchProcessRoute
import kotlinx.serialization.Serializable

Expand All @@ -17,7 +17,7 @@ fun NavController.navigateSearchProcess(navOptions: NavOptions? = null) {
}

fun NavGraphBuilder.searchProcessNavGraph(
navHostController: NavHostController
navHostController: NavHostController,
) {
composable<SearchProcess> {
SearchProcessRoute(
Expand All @@ -27,4 +27,4 @@ fun NavGraphBuilder.searchProcessNavGraph(
}

@Serializable
data object SearchProcess : MainTabRoute
data object SearchProcess : Route

0 comments on commit 8b4289b

Please sign in to comment.