decord/source/modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx

22 lines
764 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 8732
// Function ID: 8733
2026-07-20 16:05:17 +00:00
// Name: useBottomVoiceControlsSheetWidth
2026-08-24 06:08:38 +00:00
// Dependencies: [8707, 1494, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 8732 (useBottomVoiceControlsSheetWidth)
import set from "set" /* 2 */;
import useWindowDimensionsDefault from "useWindowDimensions" /* 1494 */;
import BOX_MODE_ACTIONSHEET_WIDTH from "BOX_MODE_ACTIONSHEET_WIDTH" /* 8707 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
({ BOX_MODE_ACTIONSHEET_WIDTH: obj1, BOX_MODE_THRESHOLD_WIDTH: c3 } = BOX_MODE_ACTIONSHEET_WIDTH);
2026-08-24 06:08:38 +00:00
const result = set.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-07-20 16:05:17 +00:00
if (width > closure_3) {
width = closure_2;
}
return width;
};