diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b3e3d99..c5a0da7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Pull to refresh indicator is no longer hiding behind the top app bar +- User profile page correctly renders contents below the top app bar ## [1.50.0] - 2024-08-30 diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt index bfc21226..5c7ed8f2 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt @@ -64,7 +64,7 @@ fun UserProfile( UserProfileInternal( user = (user as Success).data, openUserProfile = openUserProfile, - modifier = modifier, + modifier = modifier.padding(contentPadding), ) } is Error -> { @@ -78,7 +78,7 @@ fun UserProfile( } } Loading -> { - Box(modifier = Modifier.fillMaxSize()) { + Box(modifier = Modifier.fillMaxSize().padding(contentPadding)) { ProgressBar(modifier = Modifier.align(Alignment.Center)) } }