Enable Show MKV as video and stream all videos options

This commit is contained in:
Alisson Lauffer 2020-02-13 18:31:53 -03:00 committed by NekoInverter
parent 3cb0c0e76d
commit 24b05a98b5
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
1 changed files with 4 additions and 9 deletions

View File

@ -106,13 +106,8 @@ public class DataSettingsActivity extends BaseFragment {
autoplaySectionRow = rowCount++;
streamSectionRow = rowCount++;
enableStreamRow = rowCount++;
if (BuildVars.DEBUG_VERSION) {
enableMkvRow = rowCount++;
enableAllStreamRow = rowCount++;
} else {
enableAllStreamRow = -1;
enableMkvRow = -1;
}
enableMkvRow = rowCount++;
enableAllStreamRow = rowCount++;
enableAllStreamInfoRow = rowCount++;
enableCacheStreamRow = -1;//rowCount++;
callsSectionRow = rowCount++;
@ -450,9 +445,9 @@ public class DataSettingsActivity extends BaseFragment {
} else if (position == enableCacheStreamRow) {
//checkCell.setTextAndCheck(LocaleController.getString("CacheStreamFile", R.string.CacheStreamFile), SharedConfig.saveStreamMedia, true);
} else if (position == enableMkvRow) {
checkCell.setTextAndCheck("(beta only) Show MKV as Video", SharedConfig.streamMkv, true);
checkCell.setTextAndCheck("Show MKV as Video", SharedConfig.streamMkv, true);
} else if (position == enableAllStreamRow) {
checkCell.setTextAndCheck("(beta only) Stream All Videos", SharedConfig.streamAllVideo, false);
checkCell.setTextAndCheck("Stream All Videos", SharedConfig.streamAllVideo, false);
} else if (position == autoplayGifsRow) {
checkCell.setTextAndCheck(LocaleController.getString("AutoplayGIF", R.string.AutoplayGIF), SharedConfig.autoplayGifs, true);
} else if (position == autoplayVideoRow) {