Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update CategoriesBottomBar.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
code-a1 authored Apr 19, 2022
1 parent 309d5a1 commit 6d8e649
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import com.ivy.wallet.R
import com.ivy.wallet.ui.IvyWalletPreview
Expand All @@ -20,7 +21,7 @@ internal fun BoxWithConstraintsScope.CategoriesBottomBar(
) {
BackBottomBar(onBack = onClose) {
IvyButton(
text = "Add category",
text = stringResource(R.string.add_category),
iconStart = R.drawable.ic_plus
) {
onAddCategory()
Expand All @@ -45,4 +46,4 @@ private fun PreviewBottomBar() {
onClose = {}
)
}
}
}

0 comments on commit 6d8e649

Please sign in to comment.