Fixes notif delay

hh
Laurent 6 years ago
parent 272b804fe9
commit 030b7cf949
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/modules/session/SessionFragment.kt

@ -404,7 +404,7 @@ class SessionFragment : RealmFragment(), RowRepresentableDelegate {
if (!isDetached) { if (!isDetached) {
optimalDuration?.let { optimalDuration?.let {
val delay = 5000L //it.toLong() val delay = it.toLong() //5000L
currentSession.scheduleStopNotification(requireContext(), delay) currentSession.scheduleStopNotification(requireContext(), delay)
val formattedDuration = (it / 3600 / 1000).formattedHourlyDuration() val formattedDuration = (it / 3600 / 1000).formattedHourlyDuration()

Loading…
Cancel
Save