|
|
|
@ -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() |
|
|
|
|