mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix date adjustments when scheduling meeting
This commit is contained in:
parent
269eeba480
commit
352cfae6f5
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ struct ScheduleMeetingFragment: View {
|
|||
}
|
||||
|
||||
func pickDate() {
|
||||
let duration = scheduleMeetingViewModel.fromDate.distance(to: scheduleMeetingViewModel.toDate)
|
||||
let duration = min(scheduleMeetingViewModel.fromDate.distance(to: scheduleMeetingViewModel.toDate), 86400) // Limit auto correction of dates to 24h
|
||||
if setFromDate {
|
||||
scheduleMeetingViewModel.fromDate = selectedDate
|
||||
// If new startdate is after previous end date, bump up the end date
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue