27 lines
611 B
TypeScript
27 lines
611 B
TypeScript
// Metro module 14933 (f14934).
|
|
import { create } from "../../../_bundle/Module644";
|
|
let c10561_0 = null;
|
|
const r16 = create((c21464_0, c21464_1) => ({
|
|
currentType: "voice",
|
|
startTimer: () => {
|
|
if (c10561_0 != null) {
|
|
clearInterval(c10561_0);
|
|
}
|
|
c10561_0 = setInterval(() => {
|
|
c21464_0({
|
|
currentType: c21464_1().currentType === "voice" ? "activity" : "voice"
|
|
});
|
|
}, 3500);
|
|
},
|
|
stopTimer: () => {
|
|
if (c10561_0 != null) {
|
|
clearInterval(c10561_0);
|
|
c10561_0 = null;
|
|
}
|
|
c21464_0({
|
|
currentType: "voice"
|
|
});
|
|
}
|
|
}));
|
|
export default r16;
|