Added Dark theme notification for free users

This commit is contained in:
Eduard Urbach 2017-12-02 17:48:09 +01:00
parent e2399c6d3c
commit 6ff9ad1594

View File

@ -39,9 +39,10 @@ let dark = {
}
// Toggle theme
export function toggleTheme() {
export function toggleTheme(arn: AnimeNotifier) {
if(currentTheme === "light") {
darkTheme()
arn.statusMessage.showInfo("Previewing Dark theme. If you would like to use it permanently, please buy a PRO account.", 4000)
return
}