NoSleep.js icon indicating copy to clipboard operation
NoSleep.js copied to clipboard

added the option to specify a title when the enable function is called

Open MaRossetti opened this issue 4 years ago • 1 comments

Hey man! I'm Marco, a Frontend Developer from Barcelona. I added a small feature to your already awesome package (good job btw, you saved me). I hope you like what i added even though it's not a big thing.

This PR contains a:

  • [ ] bugfix
  • [x] new feature
  • [ ] code refactor
  • [ ] test update
  • [ ] typo fix
  • [ ] metadata update

Motivation / Use-Case

I needed to show a particular video title when an IOS device is locked. As you can see here the "NoSleep" title is shown:

IMG_A31F279A54A4-1

I just wanted the possibility to customize it a little bit :)

MaRossetti avatar Apr 29 '21 17:04 MaRossetti

Thank you Marco 👑 I also ran into the need to customize the title, so I was happy to see that someone has already taken care of it

keichenblat avatar May 09 '21 07:05 keichenblat