Skip to content

Commit

Permalink
refactor: remove no session prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mikucat0309 committed Mar 3, 2024
1 parent c7168e3 commit 0f8d93b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/src/main/java/app/opass/ccip/view/ScheduleView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,11 @@ private fun ScheduleScreen(sessions: ImmutableList<Session>, navigator: Destinat
HorizontalDivider()
if (sessions.isNotEmpty() && selectedDate.value != null) {
Sessions(groups[selectedDate.value]!!)
} else {
EmptySessions()
}
}
}
}

@Composable
private fun EmptySessions() {
Box(
Modifier.fillMaxSize(),
contentAlignment = Alignment.Center,
) {
Text("No Sessions", style = Theme.t.displayMedium)
}
}

@Composable
private fun DateTab(
dates: ImmutableList<LocalDate>,
Expand Down

0 comments on commit 0f8d93b

Please sign in to comment.