Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JuTaK97 committed Oct 23, 2024
1 parent 4295c8e commit b83201a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,12 @@ class UserRepositoryImpl @Inject constructor(

override suspend fun setTableLectureCustomOption(key: TableLectureCustomOptions, value: Boolean) {
storage.tableLectureCustom.update(
when (key){
when (key) {
TableLectureCustomOptions.TITLE -> storage.tableLectureCustom.get().copy(title = value)
TableLectureCustomOptions.PLACE -> storage.tableLectureCustom.get().copy(place = value)
TableLectureCustomOptions.LECTURENUMBER -> storage.tableLectureCustom.get().copy(lectureNumber = value)
TableLectureCustomOptions.INSTRUCTOR -> storage.tableLectureCustom.get().copy(instructor = value)
}
},
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fun TimetableConfigPage() {
val previewTheme by timetableViewModel.previewTheme.collectAsState()

val tableState =
TableState(table ?: TableDto.Default, trimParam, tableLectureCustomOptions ,previewTheme)
TableState(table ?: TableDto.Default, trimParam, tableLectureCustomOptions, previewTheme)

Column(
modifier = Modifier
Expand Down

0 comments on commit b83201a

Please sign in to comment.