Commit a00459d3 authored by Joey's avatar Joey

glucose: fix picked date not being applied

Signed-off-by: Joey's avatarJoey <bevilacquajoey@gmail.com>
Change-Id: Iac750cd2693d3e9c6d4f6b57b19b99bbb4f51951
parent cfb9f415
......@@ -291,7 +291,9 @@ class EditorFragment : Fragment() {
timeView.setErrorStatus(context, false)
}
timeView.text = Date(timeInMillis).getDetailedString()
val date = Date(timeInMillis)
timeView.text = date.getDetailedString()
viewModel.date = date
}
private fun checkForValueError(value: Int) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment