Added Dark theme notification for free users
This commit is contained in:
parent
e2399c6d3c
commit
6ff9ad1594
@ -39,9 +39,10 @@ let dark = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Toggle theme
|
// Toggle theme
|
||||||
export function toggleTheme() {
|
export function toggleTheme(arn: AnimeNotifier) {
|
||||||
if(currentTheme === "light") {
|
if(currentTheme === "light") {
|
||||||
darkTheme()
|
darkTheme()
|
||||||
|
arn.statusMessage.showInfo("Previewing Dark theme. If you would like to use it permanently, please buy a PRO account.", 4000)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user