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