fix: selection config text

This commit is contained in:
rhunk
2023-05-29 10:46:57 +02:00
parent 882eabe257
commit 7ff124a9eb

View File

@@ -97,7 +97,7 @@ class SettingsMenu : AbstractMenu() {
}
is ConfigStateSelection -> {
val button = Button(viewModel.context)
updateButtonText(button, property.valueContainer.value())
updateStateSelectionText(button, property.valueContainer.value())
button.setOnClickListener {_ ->
val builder = AlertDialog.Builder(viewModel.context)
@@ -111,7 +111,7 @@ class SettingsMenu : AbstractMenu() {
}
builder.setPositiveButton("OK") { _, _ ->
updateButtonText(button, property.valueContainer.value())
updateStateSelectionText(button, property.valueContainer.value())
}
builder.show()