Skip to content

Commit

Permalink
Fix not saving when adjusting volume using gamepad shortcut keys
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Jul 1, 2024
1 parent 72964c8 commit b921265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wiliwili/source/view/video_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ void VideoView::requestVolume(int volume, int delay) {
volume_iter = brls::delay(delay, [ASYNC_TOKEN]() {
ASYNC_RELEASE
this->hideCenterHint();
ProgramConfig::instance().setSettingItem(SettingItem::PLAYER_VOLUME, MPVCore::VIDEO_VOLUME);
this->volume_iter = 0;
});
}
Expand Down

0 comments on commit b921265

Please sign in to comment.