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 8124 (f8125).
import * as _Module17 from "react-native";
import { create } from "../../../_bundle/Module644";
import { batchUpdates } from "../../../_bundle/Module705";
let c5159_3;
const { NativeEventEmitter, NativeModules } = _Module17;
let c5159_2 = create(() => ({
isMuted: false
}));
c5159_3 = new NativeEventEmitter(NativeModules.MediaPlayerManager);
class MediaPlayerMuteManager {
constructor() {
return {
__proto__: new.target.prototype,
muteSubscription: void 0
};
}
initialize() {
this.muteSubscription = c5159_3.addListener("MediaPlayerMuteStateChanged", ({ isMuted }) => {
batchUpdates(() => {
c5159_2.setState({
isMuted
});
});
});
}
terminate() {
const muteSubscription = this.muteSubscription;
if (muteSubscription != null) {
muteSubscription.remove();
}
}
}
const prototype = MediaPlayerMuteManager.prototype;
export default {
__proto__: prototype,
muteSubscription: void 0
};
export { c5159_2 as useMediaPlayerMutedStore };