mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-04-16 19:17:20 +02:00
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)
|
(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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user