Skip to content

Commit

Permalink
feat: update content description for create job FAB
Browse files Browse the repository at this point in the history
This commit updates the content description of the floating action button on the business home screen to "Create proposal" for
 better accessibility.
  • Loading branch information
OkelloSam21 committed Aug 18, 2024
1 parent 824af71 commit 47a3b44
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import com.samuelokello.kazihub.presentation.business.home.event.BusinessHomeUiE
import com.samuelokello.kazihub.presentation.common.components.NoJobsMessage
import com.samuelokello.kazihub.ui.theme.primaryLight

@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun BusinessHomeScreenContent(
jobs: List<data> = emptyList(),
Expand All @@ -54,25 +53,17 @@ fun BusinessHomeScreenContent(
contentColor = Color.White,
containerColor = primaryLight,
) {
Icon(Icons.Default.Add, contentDescription = "Create data")
Icon(Icons.Default.Add, contentDescription = "Create proposal")
}
},
) { paddingValues ->

val scrollState = rememberScrollState()

Column(
modifier =
Modifier
.padding(paddingValues)
.padding(horizontal = 20.dp)
.fillMaxWidth()
.verticalScroll(rememberScrollState())
// .scrollable(
// state = scrollState ,
// enabled = true,
// orientation = Orientation.Vertical
// ),
) {

Column {
Expand Down

0 comments on commit 47a3b44

Please sign in to comment.