mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-05-18 14:34:12 +02:00
refactor(poster): rename functions to correct casing
This commit is contained in:
parent
860040b0fd
commit
928a0859ea
@ -72,18 +72,18 @@ class Actions : Screen {
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
item {
|
item {
|
||||||
Header()
|
header()
|
||||||
}
|
}
|
||||||
|
|
||||||
items(
|
items(
|
||||||
items = inputs,
|
items = inputs,
|
||||||
key = { input -> input }
|
key = { input -> input }
|
||||||
) { item ->
|
) { item ->
|
||||||
ActionItem(item)
|
actionItem(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
item {
|
item {
|
||||||
Footer(navigator, viewModel)
|
footer(navigator, viewModel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ class Actions : Screen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun Header() {
|
private fun header() {
|
||||||
Text(
|
Text(
|
||||||
text = "Edit Actions",
|
text = "Edit Actions",
|
||||||
style = MaterialTheme.typography.headlineSmall
|
style = MaterialTheme.typography.headlineSmall
|
||||||
@ -109,7 +109,7 @@ class Actions : Screen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun ActionItem(item: Int) {
|
private fun actionItem(item: Int) {
|
||||||
Column (
|
Column (
|
||||||
verticalArrangement = Arrangement.spacedBy(itemPadding)
|
verticalArrangement = Arrangement.spacedBy(itemPadding)
|
||||||
) {
|
) {
|
||||||
@ -121,7 +121,7 @@ class Actions : Screen {
|
|||||||
|
|
||||||
@OptIn(ExperimentalResourceApi::class)
|
@OptIn(ExperimentalResourceApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
private fun Footer(navigator: Navigator, viewModel: InterfaceState) {
|
private fun footer(navigator: Navigator, viewModel: InterfaceState) {
|
||||||
Row (
|
Row (
|
||||||
Modifier.fillMaxWidth(),
|
Modifier.fillMaxWidth(),
|
||||||
horizontalArrangement = Arrangement.SpaceBetween
|
horizontalArrangement = Arrangement.SpaceBetween
|
||||||
|
Loading…
x
Reference in New Issue
Block a user