mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
adding a crashfix
This commit is contained in:
@@ -101,7 +101,10 @@ class MonthFragment : Fragment(), MonthlyCalendar {
|
|||||||
mHolder.top_value.apply {
|
mHolder.top_value.apply {
|
||||||
text = month
|
text = month
|
||||||
contentDescription = text
|
contentDescription = text
|
||||||
setTextColor(requireContext().getProperTextColor())
|
|
||||||
|
if (activity != null) {
|
||||||
|
setTextColor(activity!!.getProperTextColor())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
updateDays(days)
|
updateDays(days)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user