mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 15:17:05 +05:30
refactor(common): pass Modifier to UserProfileInternal
This commit is contained in:
parent
999f2dfb01
commit
46bfafd681
2 changed files with 1 additions and 2 deletions
|
@ -50,7 +50,7 @@ fun UserProfile(
|
|||
}
|
||||
when (user) {
|
||||
is Success<*> -> {
|
||||
UserProfileInternal((user as Success<User>).data)
|
||||
UserProfileInternal(user = (user as Success<User>).data, modifier = modifier)
|
||||
}
|
||||
is Error -> {
|
||||
val error = user as Error
|
||||
|
|
|
@ -18,6 +18,5 @@
|
|||
<ID>SwallowedException:UrlLauncher.kt$UrlLauncher$e: ActivityNotFoundException</ID>
|
||||
<ID>ThrowingExceptionsWithoutMessageOrCause:NetworkError.kt$Throwable()</ID>
|
||||
<ID>UnnecessaryAbstractClass:BasePaparazziTest.kt$BasePaparazziTest$BasePaparazziTest</ID>
|
||||
<ID>UnusedPrivateMember:UserProfile.kt$modifier: Modifier = Modifier</ID>
|
||||
</CurrentIssues>
|
||||
</SmellBaseline>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue