mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
add extra height in case of 2 all-day evnts just once
This commit is contained in:
@ -238,8 +238,10 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
|||||||
(activity as MainActivity).updateHoursTopMargin(mView.week_top_holder.height)
|
(activity as MainActivity).updateHoursTopMargin(mView.week_top_holder.height)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wasExtraHeightAdded)
|
if (!wasExtraHeightAdded) {
|
||||||
maxScrollY += mView.week_all_day_holder.height
|
maxScrollY += mView.week_all_day_holder.height
|
||||||
|
wasExtraHeightAdded = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user