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

22 lines
764 B
TypeScript
Raw Normal View History

2026-08-28 06:19:39 +00:00
// Module ID: 9485
// Function ID: 9486
2026-07-20 16:05:17 +00:00
// Name: useBottomVoiceControlsSheetWidth
2026-08-28 06:19:39 +00:00
// Dependencies: [9460, 1494, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-28 06:19:39 +00:00
// Module 9485 (useBottomVoiceControlsSheetWidth)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import useWindowDimensionsDefault from "useWindowDimensions" /* 1494 */;
2026-08-28 06:19:39 +00:00
import BOX_MODE_ACTIONSHEET_WIDTH from "BOX_MODE_ACTIONSHEET_WIDTH" /* 9460 */;
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;
};