Skip to content

Commit

Permalink
auto correct by detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamaton0827 committed Sep 8, 2024
1 parent 2ce22d5 commit 67e78a9
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fun SearchScreen(
onChangeSearchWord = onSearchWordChanged,
onClickClear = onClearSearchWordClick,
onClickBack = onBackClick,
modifier = modifier
modifier = Modifier
.onGloballyPositioned { coordinates ->
topAppBarHeight.value = coordinates.size.height
},
Expand Down Expand Up @@ -206,8 +206,12 @@ fun SearchScreen(
contentAlignment = Alignment.Center,
modifier = Modifier
.fillMaxSize()
.offset(y = -(topAppBarHeightDp + searchFiltersHeightDp
+ spacerHeight) / 2),
.offset(
y = -(
topAppBarHeightDp + searchFiltersHeightDp +
spacerHeight
) / 2,
),
) {
EmptySearchResultBody(
searchWord = uiState.searchWord,
Expand Down

0 comments on commit 67e78a9

Please sign in to comment.