From bc65a54ca7c5ab490829cebb71aa5b1371f17cce Mon Sep 17 00:00:00 2001 From: TheRealAshik <177647015+TheRealAshik@users.noreply.github.com> Date: Fri, 15 May 2026 17:46:43 +0000 Subject: [PATCH] Update ProfileScreen to properly use ProfileUiState and display Projects count --- .../github/profile/ProfileScreen.kt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/dev/therealashik/github/profile/ProfileScreen.kt b/composeApp/src/commonMain/kotlin/dev/therealashik/github/profile/ProfileScreen.kt index aa6d3e5..d57500d 100644 --- a/composeApp/src/commonMain/kotlin/dev/therealashik/github/profile/ProfileScreen.kt +++ b/composeApp/src/commonMain/kotlin/dev/therealashik/github/profile/ProfileScreen.kt @@ -393,6 +393,26 @@ private fun NavigationListSection( count = state.starredCount, onClick = { /* TODO */ } ) + NavigationItem( + icon = { + Box( + modifier = Modifier + .size(Dimens.IconSizeLarge) + .clip(MaterialTheme.shapes.small) + .background(MaterialTheme.colorScheme.primaryContainer), + contentAlignment = Alignment.Center + ) { + Icon( + imageVector = Icons.Outlined.ViewTimeline, + contentDescription = null, + tint = MaterialTheme.colorScheme.onPrimaryContainer + ) + } + }, + label = stringResource(Res.string.nav_projects), + count = 0, + onClick = { /* TODO */ } + ) } }