Commit 03c51c98 authored by Sylvain Berfini's avatar Sylvain Berfini 🐮
Browse files

Fix time in incall view when call is longer than 1 hour

parent 22342644
......@@ -508,9 +508,10 @@ namespace Linphone.Views
startTime = (DateTimeOffset)call.CallStartTimeFromContext;
DateTimeOffset now = DateTimeOffset.Now;
TimeSpan elapsed = now.Subtract(startTime);
var hh = elapsed.Hours;
var ss = elapsed.Seconds;
var mm = elapsed.Minutes;
Status.Text = mm.ToString("00") + ":" + ss.ToString("00");
Status.Text = hh.ToString("00") + ":" + mm.ToString("00") + ":" + ss.ToString("00");
string audioPayloadType = "";
string audioDownloadBandwidth = "";
......
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