Hide first time banner after import wish

pull/1/head
Made Baruna 2021-03-09 17:40:51 +08:00
parent c97c97ae24
commit b284c66bfc
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@
import { characters } from '../data/characters';
import { readSave, updateSave } from '../stores/saveManager';
export let processFirstTimePopup;
export let closeModal;
const fetchController = new AbortController();
@ -374,6 +375,8 @@
}
function processWishes(code, type) {
processFirstTimePopup(false, false);
if (wishes[code] === undefined) return;
console.log('processing', type.name);

View File

@ -88,6 +88,7 @@
ImportModal,
{
closeModal: closeImportModal,
processFirstTimePopup,
},
{
closeButton: false,