fix(common): restore missing padding to UserProfile page

This commit is contained in:
Harsh Shandilya 2024-09-08 21:07:59 +05:30
parent 501721fca9
commit aa2093424c
2 changed files with 3 additions and 2 deletions

View file

@ -64,7 +64,7 @@ fun UserProfile(
UserProfileInternal(
user = (user as Success<User>).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))
}
}