Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Discord Rich Presence hide duration left button is acting as Hide Github link Button #1644

Closed
4 of 5 tasks
DronovasP opened this issue Jan 15, 2024 · 0 comments
Closed
4 of 5 tasks
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@DronovasP
Copy link

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.2.2

Checklists

  • I use the portable version of the YouTube Music Application.
  • I can reproduce this issue in the official YTM web version.

What operating system are you using?

Windows

Operating System Version

Windows 11

What arch are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Open application
  2. Go to Plugins -> Discord Rich Presence -> Hide duration left
  3. Notice the button acts the same as hide Github link Button

Expected Behavior

Hide duration

Actual Behavior

Hides Github link

Enabled plugins

Discord Rich presence

Additional Information

In the src/plugins/discord/menu.ts change

{
      label: t('plugins.discord.menu.hide-duration-left'),
      type: 'checkbox',
      checked: config.hideDurationLeft,
      click(item: Electron.MenuItem) {
        setConfig({
          hideGitHubButton: item.checked,
        });
      },
    },

to

{
      label: t('plugins.discord.menu.hide-duration-left'),
      type: 'checkbox',
      checked: config.hideDurationLeft,
      click(item: Electron.MenuItem) {
        setConfig({
          hideDurationLeft: item.checked,
        });
      },
    },
@JellyBrick JellyBrick added the bug Something isn't working label Jan 15, 2024
@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

2 participants