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

Feature: Prevent artist and song names from being cut off mid senten... #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Moon-0xff
Copy link

if a string is too long, it's cut in the last space (if there's any) and '...' is added
i'm not confident enough in my english to edit the comment as well.

In the case a string HasNoSpaces and exceeds the character limit lastIndexOf will return -1
So, only '...' will be added to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant