mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed meeting list not always displaying week info
This commit is contained in:
parent
b123082559
commit
453b986f82
1 changed files with 4 additions and 2 deletions
|
|
@ -154,8 +154,10 @@ class MeetingsListViewModel @UiThread constructor() : AbstractMainViewModel() {
|
|||
val first = previousModelWeekLabel != todayWeekLabel
|
||||
list.add(MeetingListItemModel(null, first))
|
||||
meetingForTodayFound = true
|
||||
previousModelWeekLabel = todayWeekLabel
|
||||
firstMeetingOfTheWeek = false
|
||||
|
||||
// Consider next meeting is first of the week (do not count "no meeting today" as first)
|
||||
previousModelWeekLabel = model.weekLabel
|
||||
firstMeetingOfTheWeek = true
|
||||
}
|
||||
} else {
|
||||
previousModelWeekLabel = model.weekLabel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue