mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
fix calling
This commit is contained in:
parent
cff41cc6c0
commit
c9ee41f3ba
1 changed files with 2 additions and 2 deletions
|
|
@ -90,11 +90,11 @@ ApplicationWindow {
|
||||||
//BEGIN FUNCTIONS
|
//BEGIN FUNCTIONS
|
||||||
function call(number) {
|
function call(number) {
|
||||||
if (!voiceCallmanager.activeVoiceCall) {
|
if (!voiceCallmanager.activeVoiceCall) {
|
||||||
console.log("Calling: " + status.text);
|
console.log("Calling: " + providerId + " " + number);
|
||||||
voiceCallmanager.dial(providerId, number);
|
voiceCallmanager.dial(providerId, number);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log("Hanging up: " + status.text);
|
console.log("Hanging up: " + voiceCallmanager.activeVoiceCall.lineId);
|
||||||
status.text = '';
|
status.text = '';
|
||||||
var call = voiceCallmanager.activeVoiceCall;
|
var call = voiceCallmanager.activeVoiceCall;
|
||||||
if (call) {
|
if (call) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue