Skip to content

Commit

Permalink
➖ remove commented codes
Browse files Browse the repository at this point in the history
  • Loading branch information
CXwudi committed Dec 13, 2023
1 parent 84c3dd5 commit 2249473
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ fun GuideToCreateNewSong() = RowCentralizedWithSpacing {

@Composable
fun OverrideResultRow(model: ResultOverridingPanelModel) = RowCentralizedWithSpacing {
// var inputValueState by remember { mutableStateOf(0uL) }
// val shouldBeDisabled by remember { derivedStateOf { inputValueState == 0uL } }
// val onOverrideCallback = {
// if (!shouldBeDisabled) {
// model.onOverride(inputValueState)
// inputValueState = 0uL
// }
//
// }
Text("And override the result with any VocaDB Song ID")
VocaDbIdOverridingTextField(model)
Button(onClick = { model.scope.launch { model.onOverride() } }, enabled = model.buttonEnabledState.value) {
Expand Down

0 comments on commit 2249473

Please sign in to comment.