This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,39 @@
// Metro module 14872 (f14873).
import Module589 from "../../_bundle/Module589";
import Dispatcher from "../../Dispatcher";
let c10511_1;
let shouldShowGuardianConnect = false;
class ParentalConsentStore extends Module589.PersistedStore {
static displayName = "ParentalConsentStore";
static persistKey = "ParentalConsentStore";
initialize(a0) {
let r4 = a0?.shouldShowGuardianConnect;
if (r4 == null) {
r4 = false;
}
shouldShowGuardianConnect = r4;
}
getShouldShowGuardianConnect() {
return shouldShowGuardianConnect;
}
getState() {
return {
shouldShowGuardianConnect
};
}
}
c10511_1 = new ParentalConsentStore(Dispatcher, {
GUARDIAN_CONNECT_REQUIRED: function handleGuardianConnectRequired(a0) {
shouldShowGuardianConnect = a0.shouldShowGuardianConnect === true;
c10511_1.persist();
},
GUARDIAN_CONNECT_CLEARED: function handleGuardianConnectCleared() {
shouldShowGuardianConnect = false;
c10511_1.persist();
},
NUF_COMPLETE: function handleNUFCompleted() {
shouldShowGuardianConnect = false;
c10511_1.persist();
}
});
export default c10511_1;