Disable vibrations in data picker
MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendanceFragment.kt
app/src/main/java/io/github/wulkanowy/ui/modules/attendance/AttendanceFragment.kt
@@ -222,6 +222,7 @@ class AttendanceFragment : BaseFragment<FragmentAttendanceBinding>(R.layout.frag
setDateRangeLimiter(SchooldaysRangeLimiter())
version = DatePickerDialog.Version.VERSION_2
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
+ vibrate(false)
show(this@AttendanceFragment.parentFragmentManager, null)
}
}

MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetableFragment.kt
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetableFragment.kt
@@ -176,6 +176,7 @@ class TimetableFragment : BaseFragment<FragmentTimetableBinding>(R.layout.fragme
setDateRangeLimiter(SchooldaysRangeLimiter())
version = DatePickerDialog.Version.VERSION_2
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
+ vibrate(false)
show(this@TimetableFragment.parentFragmentManager, null)
}
}

MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/additional/AdditionalLessonsFragment.kt
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/additional/AdditionalLessonsFragment.kt
@@ -128,6 +128,7 @@ class AdditionalLessonsFragment :
setDateRangeLimiter(SchooldaysRangeLimiter())
version = DatePickerDialog.Version.VERSION_2
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
+ vibrate(false)
show(this@AdditionalLessonsFragment.parentFragmentManager, null)
}
}

MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsFragment.kt
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/completed/CompletedLessonsFragment.kt
@@ -147,6 +147,7 @@ class CompletedLessonsFragment :
setDateRangeLimiter(SchooldaysRangeLimiter())
version = DatePickerDialog.Version.VERSION_2
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
+ vibrate(false)
show(this@CompletedLessonsFragment.parentFragmentManager, null)
}
}

Disable vibrations in data picker (#1093)