@@ -169,7 +169,7 @@ fun LoginView() {
169169 val customButton =
170170 with (viewModel.customBottomBarButton.value) {
171171 if (this != null ) {
172- LoginViewModel .BottomBarButton (title) { onClick }
172+ LoginViewModel .BottomBarButton (title) { onClick() }
173173 } else null
174174 }
175175
@@ -421,7 +421,7 @@ internal fun ToolTipWrapper(contentDescription: Int, content: @Composable (descr
421421 positionProvider = TooltipDefaults .rememberRichTooltipPositionProvider(),
422422 tooltip = {
423423 RichTooltip (
424- caretSize = DpSize (PADDING_SIZE . dp, PADDING_SIZE .dp),
424+ caretSize = DpSize (PADDING_SIZE .dp, PADDING_SIZE .dp),
425425 colors = RichTooltipColors (
426426 containerColor = colorScheme.outline,
427427 contentColor = colorScheme.onSecondary,
@@ -688,8 +688,10 @@ private fun BottomBarRedPreview() {
688688}
689689
690690@Preview(" Light" , showBackground = true , heightDp = 100 , widthDp = 100 )
691- @Preview(" Dark" , showBackground = true , heightDp = 100 , widthDp = 100 ,
692- uiMode = Configuration .UI_MODE_NIGHT_YES , backgroundColor = 0xFF181818 )
691+ @Preview(
692+ " Dark" , showBackground = true , heightDp = 100 , widthDp = 100 ,
693+ uiMode = Configuration .UI_MODE_NIGHT_YES , backgroundColor = 0xFF181818
694+ )
693695@Composable
694696private fun TooltipPreview () {
695697 MaterialTheme (colorScheme = if (isSystemInDarkTheme()) sfDarkColors() else sfLightColors()) {
@@ -716,4 +718,4 @@ private fun TooltipPreview() {
716718 }
717719 }
718720 }
719- }
721+ }
0 commit comments