Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-windows10
Commits
03c51c98
Commit
03c51c98
authored
Apr 27, 2015
by
Sylvain Berfini
🐮
Browse files
Fix time in incall view when call is longer than 1 hour
parent
22342644
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Linphone/Views/InCall.xaml.cs
Linphone/Views/InCall.xaml.cs
+2
-1
No files found.
Linphone/Views/InCall.xaml.cs
View file @
03c51c98
...
...
@@ -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
=
""
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment