Skip to content

Commit

Permalink
reflect kt.lite changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuljeet1998 committed Oct 15, 2024
1 parent ddc7833 commit 5c33b9e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ class DashboardActivity : DashboardElementActivity(), OnHomeItemClickListener, N
}

private fun createDrawer() {
val dimenHolder = DimenHolder.fromDp(220)
val statusBarHeight = ceil(25 * context.resources.displayMetrics.density).toInt()
val dimenHolder = DimenHolder.fromDp(160 + statusBarHeight)
result = headerResult?.let {
DrawerBuilder().withActivity(this).withFullscreen(true)
.withSliderBackgroundColor(ContextCompat.getColor(this, R.color.colorPrimary))
Expand Down

0 comments on commit 5c33b9e

Please sign in to comment.