Skip to content

Commit

Permalink
Small bugfixes
Browse files Browse the repository at this point in the history
joaomgcd committed Apr 21, 2021
1 parent 2baf670 commit 0ed54bf
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "com.joaomgcd.join",
"productName": "Join Desktop",
"homepage": "https://joaoapps.com/join/desktop",
"version": "0.5.1",
"version": "0.5.2",
"description": "A companion app for the Join website",
"main": "main_esm.js",
"scripts": {
2 changes: 1 addition & 1 deletion v2/gcm/gcmapp.js
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ export class GCMPush extends GCMBaseApp{
if(notificationAction == GCMPushBase.notificationActionCopyUrl.action){
Util.setClipboardText(push.url);
}
await GCMNotificationBase.handleNotificationNumbers(notificationAction,this.push.text);
await GCMNotificationBase.handleNotificationNumbers(notificationAction, push.text || push.clipboard || push.url);
}

}
2 changes: 1 addition & 1 deletion v2/media/mediainfo.js
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ export class MediaInfos extends Array{
}
}
matches(otherMediaInfos){
if(!this.device) return;
if(!this.device || !otherMediaInfos || !otherMediaInfos.device) return;

return this.device.deviceId == otherMediaInfos.device.deviceId
}
2 changes: 1 addition & 1 deletion v2/settings/apphelpersettings.js
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ const handleConnectingToEventghostOrNodeRed = async (setting,value) => {
await ControlDialogOk.showAndWait({title:"Success!",text:`Sending text pushes to ${value}`});
settingAutomationPortFullPush.value = false;
}catch{
await ControlDialogOk.showAndWait({title:"Error!",text:`Couldn't connect. Make sure that the app is listening on port ${value}.`});
await ControlDialogOk.showAndWait({title:"Error!",text:`Couldn't connect. Make sure that the app is listening on port ${value} and that you don't have anything blocking access to localhost on your browser (like an adblocker for example).`});
console.log(error);
value = null;
settingAutomationPortFullPush.value = false;

0 comments on commit 0ed54bf

Please sign in to comment.