Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
saleniuk committed Mar 18, 2024
1 parent 552b96a commit da127b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fun InternalContactSearchResultItem(
if (actionType.checkable) {
WireCheckbox(
checked = isAddedToGroup,
onCheckedChange = null, // null since we are handling the click on parent
onCheckedChange = null, // null since we are handling the click on parent
modifier = Modifier.padding(horizontal = dimensions().spacing8x)
)
}
Expand Down Expand Up @@ -107,8 +107,7 @@ fun InternalContactSearchResultItem(
},
clickable =
if (actionType.clickable) clickable
else Clickable { onCheckChange(!isAddedToGroup) }
,
else Clickable { onCheckChange(!isAddedToGroup) },
modifier = modifier.padding(start = dimensions().spacing8x)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fun SearchUsersAndServicesScreen(
WireCenterAlignedTopAppBar(
elevation = elevation,
title = searchTitle,
navigationIconType = when(screenType) {
navigationIconType = when (screenType) {
SearchPeopleScreenType.CONVERSATION_DETAILS -> NavigationIconType.Close
SearchPeopleScreenType.NEW_CONVERSATION -> NavigationIconType.Close
SearchPeopleScreenType.NEW_GROUP_CONVERSATION -> NavigationIconType.Back
Expand Down

0 comments on commit da127b3

Please sign in to comment.