mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 15:42:05 +00:00
fix: swipe control inital volume
This commit is contained in:
parent
4b3b3291cf
commit
bcba9f3805
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ export function swipeControls(node, props = { enabled: true, immersePlayer: () =
|
|||
if (isNative) {
|
||||
try {
|
||||
const { brightness: currentBrightness } = await ScreenBrightness.getBrightness();
|
||||
const { volume: currentVolume } = await VolumeControl.getCurrentVolume();
|
||||
const { volume: currentVolume } = await VolumeControl.getVolume();
|
||||
brightness = currentBrightness * 100;
|
||||
volume = currentVolume;
|
||||
updateBrightness();
|
||||
|
|
|
|||
Loading…
Reference in a new issue