add extra height in case of 2 all-day evnts just once
This commit is contained in:
parent
cfed46f4a1
commit
2d12c09d2c
|
@ -238,8 +238,10 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
|||
(activity as MainActivity).updateHoursTopMargin(mView.week_top_holder.height)
|
||||
}
|
||||
|
||||
if (!wasExtraHeightAdded)
|
||||
if (!wasExtraHeightAdded) {
|
||||
maxScrollY += mView.week_all_day_holder.height
|
||||
wasExtraHeightAdded = true
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue