mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 15:26:40 +01:00
Hide first time banner after import wish
This commit is contained in:
parent
c97c97ae24
commit
b284c66bfc
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
import { characters } from '../data/characters';
|
import { characters } from '../data/characters';
|
||||||
import { readSave, updateSave } from '../stores/saveManager';
|
import { readSave, updateSave } from '../stores/saveManager';
|
||||||
|
|
||||||
|
export let processFirstTimePopup;
|
||||||
export let closeModal;
|
export let closeModal;
|
||||||
|
|
||||||
const fetchController = new AbortController();
|
const fetchController = new AbortController();
|
||||||
|
@ -374,6 +375,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function processWishes(code, type) {
|
function processWishes(code, type) {
|
||||||
|
processFirstTimePopup(false, false);
|
||||||
|
|
||||||
if (wishes[code] === undefined) return;
|
if (wishes[code] === undefined) return;
|
||||||
console.log('processing', type.name);
|
console.log('processing', type.name);
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
ImportModal,
|
ImportModal,
|
||||||
{
|
{
|
||||||
closeModal: closeImportModal,
|
closeModal: closeImportModal,
|
||||||
|
processFirstTimePopup,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
closeButton: false,
|
closeButton: false,
|
||||||
|
|
Loading…
Reference in a new issue