Add TOS alert

This commit is contained in:
kwaroran
2024-08-26 17:20:54 +09:00
parent b9721b80c5
commit f7ddc09277
3 changed files with 13 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ export async function alertCardExport(type:string = ''){
export async function alertTOS(){
if(localStorage.getItem('tos') === 'true'){
if(localStorage.getItem('tos2') === 'true'){
return true
}
@@ -263,7 +263,7 @@ export async function alertTOS(){
}
if(get(alertStore).msg === 'yes'){
localStorage.setItem('tos', 'true')
localStorage.setItem('tos2', 'true')
return true
}