Skip to content

Commit

Permalink
Merge branch 'main' into ndegwamartin-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dubdabasoduba authored Dec 1, 2024
2 parents da78e99 + 6e177fd commit 4073325
Showing 1 changed file with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
Expand Down Expand Up @@ -161,15 +162,6 @@ fun ProfileScreen(
}
LazyColumn(
state = lazyListState,
modifier =
Modifier.padding(
bottom =
if (!fabActions.isNullOrEmpty() && fabActions.first().visible) {
PADDING_BOTTOM_WITH_FAB.dp
} else {
PADDING_BOTTOM_WITHOUT_FAB.dp
},
),
) {
item(key = profileUiState.resourceData?.baseResourceId) {
ViewRenderer(
Expand All @@ -180,6 +172,18 @@ fun ProfileScreen(
decodeImage = decodeImage,
)
}
item {
Spacer(
modifier =
Modifier.height(
if (!fabActions.isNullOrEmpty() && fabActions.first().visible) {
PADDING_BOTTOM_WITH_FAB.dp
} else {
PADDING_BOTTOM_WITHOUT_FAB.dp
},
),
)
}
}
}
}
Expand Down

0 comments on commit 4073325

Please sign in to comment.