diff --git a/src/components/tasks/TaskDetailView.vue b/src/components/tasks/TaskDetailView.vue index 01c892ee..e7c0c558 100644 --- a/src/components/tasks/TaskDetailView.vue +++ b/src/components/tasks/TaskDetailView.vue @@ -389,7 +389,10 @@ this.activeFields.percentDone = this.task.percentDone > 0 this.activeFields.startDate = this.task.startDate !== null this.activeFields.endDate = this.task.endDate !== null - this.activeFields.reminders = this.task.reminderDates.length > 1 + // On chrome, reminderDates.length holds the actual number of reminders that are not null. + // Unlike on desktop where it holds all reminders, including the ones which are null. + // This causes the reminders to dissapear entierly when only one is set and the user is on mobile. + this.activeFields.reminders = this.task.reminderDates.length > 1 || (window.innerWidth < 769 && this.task.reminderDates.length > 0) this.activeFields.repeatAfter = this.task.repeatAfter.amount > 0 this.activeFields.labels = this.task.labels.length > 0 this.activeFields.attachments = this.task.attachments.length > 0