mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 00:35:26 +02:00
Content descriptions
This commit is contained in:
parent
4cfd876bfd
commit
d039f00141
@ -114,7 +114,7 @@ private fun HistoryListPlaceholder(
|
||||
verticalArrangement = Arrangement.Center,
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
Icon(Icons.Default.History, null)
|
||||
Icon(Icons.Default.History, stringResource(R.string.calculator_no_history))
|
||||
Text(stringResource(R.string.calculator_no_history))
|
||||
}
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ private fun AddSubtractView(
|
||||
shape = SegmentedButtonDefaults.itemShape(index = 0, count = 2),
|
||||
icon = {}
|
||||
) {
|
||||
Icon(Icons.Outlined.Add, null)
|
||||
Icon(Icons.Outlined.Add, stringResource(R.string.add))
|
||||
}
|
||||
SegmentedButton(
|
||||
selected = !uiState.addition,
|
||||
@ -212,7 +212,7 @@ private fun AddSubtractView(
|
||||
shape = SegmentedButtonDefaults.itemShape(index = 1, count = 2),
|
||||
icon = {}
|
||||
) {
|
||||
Icon(Icons.Outlined.Remove, null)
|
||||
Icon(Icons.Outlined.Remove, stringResource(R.string.subtract))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user