fix qml type warning

… I created myself in df1f20cb (oops)
This commit is contained in:
jngibbon 2021-06-05 20:46:07 +02:00 committed by John Gibbon
parent a1859c0333
commit a2b05fc227

View file

@ -37,7 +37,7 @@ Page {
property bool chatListCreated: false;
// link handler:
property string urlToOpen: null;
property string urlToOpen;
property var chatToOpen: null; //null or [chatId, messageId]
onStatusChanged: {
@ -137,7 +137,7 @@ Page {
if(chatListCreated && urlToOpen && urlToOpen.length > 1) {
Debug.log("[OverviewPage] Opening URL: ", urlToOpen);
Functions.handleLink(urlToOpen);
urlToOpen = null;
urlToOpen = "";
}
}