2026-09-01 10:26:29 +00:00
|
|
|
// Module ID: 10937
|
|
|
|
|
// Function ID: 10938
|
|
|
|
|
// Dependencies: [7157, 589, 2]
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-09-01 10:26:29 +00:00
|
|
|
// Module 10937
|
2026-08-24 06:08:38 +00:00
|
|
|
import initialize from "initialize" /* 589 */;
|
2026-09-01 10:26:29 +00:00
|
|
|
import closure_2 from "getState" /* 7157 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/app_state/DiscordAppState.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default {
|
2026-07-29 08:29:29 +00:00
|
|
|
canUIRequestGatewaySocket(arg0) {
|
|
|
|
|
return "active" === store.getState();
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
getState() {
|
2026-07-29 08:29:29 +00:00
|
|
|
return store.getState();
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
useCanUIRequestGatewaySocket() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_2];
|
|
|
|
|
return initialize.useStateFromStores(items, () => "active" === state.getState());
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|