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