Skip to content

Commit

Permalink
Fixed 2 crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomgcd committed Oct 13, 2020
1 parent bc9cd90 commit 6526147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appdashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,8 @@ export class AppDashboard extends App{
window.api.send("gcm",webSocketGCM.gcmRaw);
}
async onDevices(devices){
devices = JSON.stringify(devices);
devices = JSON.parse(devices);
window.api.send("devices",devices);
}
async onCloseAppClicked(closeAppClicked){
Expand Down
2 changes: 2 additions & 0 deletions v2/media/mediainfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ export class MediaInfos extends Array{
}
}
matches(otherMediaInfos){
if(!his.device) return;

return this.device.deviceId == otherMediaInfos.device.deviceId
}
async convertArtToBase64(token){
Expand Down

0 comments on commit 6526147

Please sign in to comment.