Skip to content

Commit

Permalink
fix: update string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Jan 15, 2025
1 parent ba7debd commit 5bc178d
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
package org.hisp.dhis.mobile.ui.designsystem.component.table.ui.internal

import androidx.compose.runtime.Composable
import org.hisp.dhis.mobile.designsystem.generated.resources.Res
import org.hisp.dhis.mobile.designsystem.generated.resources.done
import org.hisp.dhis.mobile.designsystem.generated.resources.no_results_found
import org.hisp.dhis.mobile.designsystem.generated.resources.search_to_see_more
import org.hisp.dhis.mobile.ui.designsystem.component.CheckBoxData
import org.hisp.dhis.mobile.ui.designsystem.component.MultiSelectBottomSheet
import org.hisp.dhis.mobile.ui.designsystem.component.table.model.DropdownOption
import org.hisp.dhis.mobile.ui.designsystem.component.table.model.TableCell
import org.hisp.dhis.mobile.ui.designsystem.resource.provideStringResource
import org.jetbrains.compose.resources.stringResource

/**
* Composable function to display a multi-option selector.
Expand Down Expand Up @@ -34,9 +38,9 @@ internal fun MultiOptionSelector(
)
},
title = title,
noResultsFoundString = provideStringResource("no_results_found"),
searchToFindMoreString = provideStringResource("search_to_see_more"),
doneButtonText = provideStringResource("done"),
noResultsFoundString = stringResource(Res.string.no_results_found),
searchToFindMoreString = stringResource(Res.string.search_to_see_more),
doneButtonText = stringResource(Res.string.done),
onItemsSelected = { checkBoxes ->
val checkedCodes = checkBoxes
.filter { item -> item.checked }
Expand Down

0 comments on commit 5bc178d

Please sign in to comment.