refactor: Await alertConfirm in importCharacterCardSpec
This commit is contained in:
@@ -480,7 +480,7 @@ async function importCharacterCardSpec(card:CharacterCardV2Risu|CharacterCardV3,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(risuext.lowLevelAccess){
|
if(risuext.lowLevelAccess){
|
||||||
const conf = alertConfirm(language.lowLevelAccessConfirm)
|
const conf = await alertConfirm(language.lowLevelAccessConfirm)
|
||||||
if(!conf){
|
if(!conf){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user