diff --git a/common/modules/swipecontrol.js b/common/modules/swipecontrol.js index ca4d094..75e4563 100644 --- a/common/modules/swipecontrol.js +++ b/common/modules/swipecontrol.js @@ -152,11 +152,12 @@ export function swipeControls(node, props = { enabled: true, immersePlayer: () = async function init() { if (isNative) { try { - const { brightness: currentBrightness } = await ScreenBrightness.getBrightness(); + // const { brightness: currentBrightness } = await ScreenBrightness.getBrightness(); const { volume: currentVolume } = await VolumeControl.getVolume(); - brightness = currentBrightness * 100; + brightness = 50; volume = currentVolume; - updateBrightness(); + // updateBrightness(); + brightnessValue.textContent = `50%`; debouncedUpdateVolume(); } catch (error) { console.error('Error initializing brightness and volume:', error);