Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Mar 20, 2021
1 parent 9e3fded commit d6b4135
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ private void appendTweaksCategory(AppSettingsPresenter settingsPresenter) {
option -> mPlayerTweaksData.skipProfileLevelCheck(option.isSelected()),
mPlayerTweaksData.isProfileLevelCheckSkipped()));

options.add(UiOptionItem.from(getContext().getString(R.string.player_low_video_quality),
option -> mPlayerData.enableLowQuality(option.isSelected()),
mPlayerData.isLowQualityEnabled()));

settingsPresenter.appendCheckedCategory("Tweaks", options);
}

Expand Down Expand Up @@ -199,10 +203,6 @@ private void appendMiscCategory(AppSettingsPresenter settingsPresenter) {
option -> mPlayerData.enableQualityInfo(option.isSelected()),
mPlayerData.isQualityInfoEnabled()));

options.add(UiOptionItem.from(getContext().getString(R.string.player_low_video_quality),
option -> mPlayerData.enableLowQuality(option.isSelected()),
mPlayerData.isLowQualityEnabled()));

settingsPresenter.appendCheckedCategory(getContext().getString(R.string.player_other), options);
}
}

0 comments on commit d6b4135

Please sign in to comment.