Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
d59f1ddd
Commit
d59f1ddd
authored
Mar 17, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Calls/Incall): hide fullscreen window when call is ended
parent
bd4b18d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
Incall.js
linphone-desktop/ui/views/App/Calls/Incall.js
+10
-1
Incall.qml
linphone-desktop/ui/views/App/Calls/Incall.qml
+1
-0
No files found.
linphone-desktop/ui/views/App/Calls/Incall.js
View file @
d59f1ddd
...
...
@@ -16,6 +16,15 @@ function computeAvatarSize (maxSize) {
return
size
<
width
?
size
:
width
}
function
handleStatusChanged
(
status
)
{
if
(
status
===
Linphone
.
CallModel
.
CallStatusEnded
)
{
var
fullscreen
=
incall
.
_fullscreen
if
(
fullscreen
)
{
fullscreen
.
close
()
}
}
}
function
handleVideoRequested
()
{
var
call
=
incall
.
call
var
dialog
...
...
@@ -58,7 +67,7 @@ function handleVideoRequested () {
})
}
function
showFull
S
creen
()
{
function
showFull
s
creen
()
{
if
(
incall
.
_fullscreen
)
{
return
}
...
...
linphone-desktop/ui/views/App/Calls/Incall.qml
View file @
d59f1ddd
...
...
@@ -37,6 +37,7 @@ Rectangle {
Connections
{
target
:
call
onStatusChanged
:
Logic
.
handleStatusChanged
(
status
)
onVideoRequested
:
Logic
.
handleVideoRequested
()
}
...
...
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