Skip to content

Commit

Permalink
fix: 节次选择对话框显示为两列
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystery00 committed Jan 16, 2024
1 parent 7d74939 commit d3010b2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,21 +260,23 @@ class CustomCourseActivity : BaseSelectComposeActivity() {
items = (1..11).toList().map { "$it" },
selectedIndex = initCourseIndex.first - 1,
required = true,
columns = 1,
key = "Start"
),
InputRadioButtonGroup(
header = InputHeader(title = "结束节次"),
items = (1..11).toList().map { "$it" },
selectedIndex = initCourseIndex.second - 1,
required = true,
columns = 1,
key = "End"
),
)

InputDialog(
header = Header.Default(title = "请选择上课时间"),
state = rememberUseCaseState(visible = true, onCloseRequest = { state.hide() }),
config = InputConfig(columns = 1),
config = InputConfig(columns = 2),
selection = InputSelection(
input = inputOptions,
onPositiveClick = { result ->
Expand Down

0 comments on commit d3010b2

Please sign in to comment.