mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
fix(common): restore missing padding to UserProfile page
This commit is contained in:
parent
501721fca9
commit
aa2093424c
2 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Pull to refresh indicator is no longer hiding behind the top app bar
|
- 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
|
## [1.50.0] - 2024-08-30
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ fun UserProfile(
|
||||||
UserProfileInternal(
|
UserProfileInternal(
|
||||||
user = (user as Success<User>).data,
|
user = (user as Success<User>).data,
|
||||||
openUserProfile = openUserProfile,
|
openUserProfile = openUserProfile,
|
||||||
modifier = modifier,
|
modifier = modifier.padding(contentPadding),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
is Error -> {
|
is Error -> {
|
||||||
|
@ -78,7 +78,7 @@ fun UserProfile(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading -> {
|
Loading -> {
|
||||||
Box(modifier = Modifier.fillMaxSize()) {
|
Box(modifier = Modifier.fillMaxSize().padding(contentPadding)) {
|
||||||
ProgressBar(modifier = Modifier.align(Alignment.Center))
|
ProgressBar(modifier = Modifier.align(Alignment.Center))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue