diff --git a/app/build.gradle b/app/build.gradle index 7f9f495e1..3f9412a79 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -147,6 +147,7 @@ ext { daggerVersion = "2.34.1" okhttpVersion = "3.14.2" lombokVersion = "1.18.10" + materialDialogsVersion = "3.3.0" parcelerVersion = "1.1.13" powermockVersion = "2.0.9" retrofit2Version = "2.7.1" @@ -259,10 +260,10 @@ dependencies { implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' implementation 'eu.medsea.mimeutil:mime-util:2.1.3' - implementation 'com.afollestad.material-dialogs:core:3.1.0' - implementation 'com.afollestad.material-dialogs:datetime:3.1.0' - implementation 'com.afollestad.material-dialogs:bottomsheets:3.1.0' - implementation 'com.afollestad.material-dialogs:lifecycle:3.1.0' + implementation "com.afollestad.material-dialogs:core:${materialDialogsVersion}" + implementation "com.afollestad.material-dialogs:datetime:${materialDialogsVersion}" + implementation "com.afollestad.material-dialogs:bottomsheets:${materialDialogsVersion}" + implementation "com.afollestad.material-dialogs:lifecycle:${materialDialogsVersion}" implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.google.android.exoplayer:exoplayer:2.13.3' diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt index ac2d2f262..77a5e8465 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt @@ -254,6 +254,7 @@ class ConversationInfoController(args: Bundle) : BaseController(args), FlexibleA requireFutureDateTime = true, currentDateTime = currentTimeCalendar, + show24HoursView = true, dateTimeCallback = { _, dateTime -> reconfigureLobbyTimerView(dateTime)