forked from github/wulkanowy-mirror
Disable vibrations in data picker (#1093)
This commit is contained in:
parent
3a887f597b
commit
f37ddfe00f
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -128,6 +128,7 @@ class AdditionalLessonsFragment :
|
||||
setDateRangeLimiter(SchooldaysRangeLimiter())
|
||||
version = DatePickerDialog.Version.VERSION_2
|
||||
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
|
||||
vibrate(false)
|
||||
show(this@AdditionalLessonsFragment.parentFragmentManager, null)
|
||||
}
|
||||
}
|
||||
|
@ -147,6 +147,7 @@ class CompletedLessonsFragment :
|
||||
setDateRangeLimiter(SchooldaysRangeLimiter())
|
||||
version = DatePickerDialog.Version.VERSION_2
|
||||
scrollOrientation = DatePickerDialog.ScrollOrientation.VERTICAL
|
||||
vibrate(false)
|
||||
show(this@CompletedLessonsFragment.parentFragmentManager, null)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user