Skip to content

Commit

Permalink
Fixes build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
digimezzo committed Dec 12, 2024
1 parent d3c0f1b commit e12ac2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions discord-presence-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class DiscordPresenceUpdater {
private rpc: Client;
private isReady: boolean;

constructor(clientId: string) {
public constructor(clientId: string) {
this.clientId = clientId;
this.rpc = new Client({ transport: 'ipc' });
this.isReady = false;
Expand Down Expand Up @@ -51,8 +51,8 @@ export class DiscordPresenceUpdater {
}

const presence: Presence = {
details: `Listening to ${args.title}`,
state: `by ${args.artists}`,
details: `${args.title}`,
state: `${args.artists}`,
largeImageKey: args.largeImageKey,
largeImageText: args.largeImageText,
smallImageKey: args.smallImageKey,
Expand Down
3 changes: 0 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ import { ArtistInformationService } from './services/artist-information/artist-i
import { ArtistService } from './services/artist/artist.service';
import { CollectionService } from './services/collection/collection.service';
import { DialogService } from './services/dialog/dialog.service';
import { DiscordService } from './services/discord/discord.service';
import { PresenceUpdater } from './services/discord/presence-updater';
import { ElectronService } from './services/electron.service';
import { FileService } from './services/file/file.service';
import { FolderService } from './services/folder/folder.service';
Expand Down Expand Up @@ -515,7 +513,6 @@ export function appInitializerFactory(translate: TranslateService, injector: Inj
WebSearchApi,
MetadataPatcher,
TracksColumnsOrdering,
PresenceUpdater,
SemanticZoomHeaderAdder,
DefaultThemesCreator,
ArtistsPersister,
Expand Down

0 comments on commit e12ac2f

Please sign in to comment.