adding some empty lines

This commit is contained in:
Tibor Kaputa 2022-05-18 17:08:31 +02:00 committed by GitHub
parent 745f404dca
commit 739e84697d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con
!startDay.isThisMonth && !endDay.isThisMonth -> true
else -> dimPastEvents && event.isPastEvent && !isPrintVersion
}
if (adjustAlpha) {
paintColor = paintColor.adjustAlpha(MEDIUM_ALPHA)
}
@ -356,6 +357,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con
!startDay.isThisMonth && !endDay.isThisMonth -> true
else -> dimPastEvents && event.isPastEvent && !isPrintVersion
}
if (adjustAlpha) {
paintColor = paintColor.adjustAlpha(HIGHER_ALPHA)
}