Skip to content

Commit

Permalink
[FEAT/#42] 뒤로가기 버튼 리플 효과 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Jul 12, 2024
1 parent 2fcbeca commit cfbc886
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import androidx.compose.ui.unit.dp
import com.terning.core.R
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.designsystem.theme.White
import com.terning.core.extension.noRippleClickable

@OptIn(ExperimentalMaterial3Api::class)
@Composable
Expand All @@ -42,13 +43,15 @@ fun TerningBasicTopAppBar(
if (showBackButton) {
IconButton(
onClick = {
onBackButtonClick.invoke()
onBackButtonClick()
}
) {
Icon(
painter = painterResource(id = R.drawable.ic_back),
contentDescription = stringResource(id = R.string.ic_back),
modifier = Modifier.padding(start = 8.dp)
modifier = Modifier
.padding(start = 8.dp)
.noRippleClickable { onBackButtonClick() }
)
}
} else {
Expand Down

0 comments on commit cfbc886

Please sign in to comment.