Skip to content

Commit

Permalink
Added JetChatWidget: Moved the settings section along with widget dis…
Browse files Browse the repository at this point in the history
…coverability.
  • Loading branch information
shangeethsivan committed Jan 1, 2025
1 parent b7f5199 commit d10602e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ fun JetchatDrawerContent(
ProfileItem("Taylor Brooks", colleagueProfile.photo) {
onProfileClicked(colleagueProfile.userId)
}
DividerItem(modifier = Modifier.padding(horizontal = 28.dp))
DrawerItemHeader("Settings")
if (widgetAddingIsSupported(LocalContext.current)) {
DividerItem(modifier = Modifier.padding(horizontal = 28.dp))
DrawerItemHeader("Settings")
WidgetDiscoverability()
}
}
Expand Down

0 comments on commit d10602e

Please sign in to comment.