Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/pknu-wap/WAPP into featu…
Browse files Browse the repository at this point in the history
…re/jaino/#93
  • Loading branch information
jeongjaino committed Jan 9, 2024
2 parents 2d48103 + 62c1235 commit 0aca95c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,12 @@ internal fun ManagementScreen(
}

@Composable
internal fun ManagementCardColor(currentIndex: Int): Color {
return if (currentIndex % 2 == 0) {
internal fun ManagementCardColor(currentIndex: Int): Color =
if (currentIndex % 2 == 0) {
WappTheme.colors.black82
} else {
WappTheme.colors.black42
}
}

private fun showToast(text: String, context: Context) {
private fun showToast(text: String, context: Context) =
Toast.makeText(context, text, Toast.LENGTH_SHORT).show()
}

0 comments on commit 0aca95c

Please sign in to comment.