mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-03-04 19:47:44 +01:00
updating commons with the new time picker
This commit is contained in:
parent
88e843af86
commit
34411309ae
@ -64,7 +64,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:185891674f'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:36efd1c355'
|
||||||
implementation 'com.facebook.stetho:stetho:1.5.1'
|
implementation 'com.facebook.stetho:stetho:1.5.1'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
implementation 'com.shawnlin:number-picker:2.4.6'
|
implementation 'com.shawnlin:number-picker:2.4.6'
|
||||||
|
@ -44,6 +44,7 @@ class EditAlarmDialog(val activity: SimpleActivity, val alarm: Alarm, val callba
|
|||||||
.setTimeFormat(timeFormat)
|
.setTimeFormat(timeFormat)
|
||||||
.setHour(alarm.timeInMinutes / 60)
|
.setHour(alarm.timeInMinutes / 60)
|
||||||
.setMinute(alarm.timeInMinutes % 60)
|
.setMinute(alarm.timeInMinutes % 60)
|
||||||
|
.setInputMode(MaterialTimePicker.INPUT_MODE_CLOCK)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
timePicker.addOnPositiveButtonClickListener {
|
timePicker.addOnPositiveButtonClickListener {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user