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

22 lines
699 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 10550
// Function ID: 82419
2026-07-20 16:05:17 +00:00
// Name: useBottomVoiceControlsSheetWidth
2026-07-23 10:11:24 +00:00
// Dependencies: [10211, 1450, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 10550 (useBottomVoiceControlsSheetWidth)
import BOX_MODE_ACTIONSHEET_WIDTH from "BOX_MODE_ACTIONSHEET_WIDTH";
let closure_2;
let closure_3;
({ BOX_MODE_ACTIONSHEET_WIDTH: closure_2, BOX_MODE_THRESHOLD_WIDTH: closure_3 } = BOX_MODE_ACTIONSHEET_WIDTH);
const result = require("set").fileFinishedImporting("modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx");
2026-07-20 16:05:17 +00:00
export default function useBottomVoiceControlsSheetWidth() {
2026-07-23 10:11:24 +00:00
let width = importDefault(1450)().width;
2026-07-20 16:05:17 +00:00
if (width > closure_3) {
width = closure_2;
}
return width;
};