Skip to content

Commit

Permalink
Merge pull request MALSync#1324 from MALSync/use-tracker-url-in-presence
Browse files Browse the repository at this point in the history
user tracker url in presence MALSync#1314
  • Loading branch information
lolamtisch authored Oct 1, 2022
2 parents f32d656 + 092e06d commit 725a1d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/syncPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1237,8 +1237,9 @@ export class SyncPage {
};

if (api.settings.get('presenceShowButtons')) {
let url = this.singleObj.getMalUrl();
if (!url && this.singleObj.shortName !== 'Local') url = this.singleObj.getDisplayUrl();
let url = null;
if (this.singleObj.shortName !== 'Local') url = this.singleObj.getDisplayUrl();
if (!url) url = this.singleObj.getMalUrl();
if (!url && !presenceHidePage) url = this.singleObj.getStreamingUrl();
if (url) {
pres.presence.buttons = [
Expand Down

0 comments on commit 725a1d5

Please sign in to comment.