2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 9628
|
|
|
|
|
// Function ID: 9629
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useBottomVoiceControlsSheetWidth
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [9598, 1477, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 9628 (useBottomVoiceControlsSheetWidth)
|
2026-09-05 10:56:28 +00:00
|
|
|
import useWindowDimensionsDefault from "useWindowDimensions" /* 1477 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import ChannelCallConstants from "ChannelCallConstants" /* 9598 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
({ BOX_MODE_ACTIONSHEET_WIDTH: c2, BOX_MODE_THRESHOLD_WIDTH: c3 } = ChannelCallConstants);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useBottomVoiceControlsSheetWidth() {
|
2026-08-24 06:08:38 +00:00
|
|
|
let width = useWindowDimensionsDefault().width;
|
2026-09-10 05:38:07 +00:00
|
|
|
if (width > React3) {
|
|
|
|
|
width = React2;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return width;
|
|
|
|
|
};
|