Files
discord-decomp/modules/activities/ActivityShelfStore.tsx
T
2026-11-01 12:12:55 +02:00

37 lines
869 B
TypeScript

// Metro module 10613 (f10614).
import Module589 from "../../_bundle/Module589";
import Dispatcher from "../../Dispatcher";
import { HermesBuiltin } from "../../_hermes/prelude";
let c7119_0 = {
usageByApplicationId: {},
shelfOrder: []
};
class ActivityShelfStore extends Module589.PersistedStore {
static displayName = "ActivityShelfStore";
static persistKey = "ActivityShelfStore";
initialize(a0) {
let r3 = a0;
const r2 = {
usageByApplicationId: {},
shelfOrder: []
};
if (a0 == null) {
r3 = {};
}
HermesBuiltin.copyDataProperties(r2, r3);
c7119_0 = r2;
}
getState() {
return c7119_0;
}
}
const activityShelfStore = new ActivityShelfStore(Dispatcher, {
LOGOUT: function reset() {
c7119_0 = {
usageByApplicationId: {},
shelfOrder: []
};
}
});
export default activityShelfStore;