comment out setting for extractor

This commit is contained in:
Vivian Tran 2024-10-25 01:43:15 +11:00
parent 71c161ce0f
commit ed1bdacaac
3 changed files with 5 additions and 7 deletions

View file

@ -20,7 +20,6 @@
package org.schabi.newpipe;
import static org.schabi.newpipe.extractor.NewPipe.getPreferredFont;
import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage;
import android.content.BroadcastReceiver;

View file

@ -94,7 +94,6 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
} else if ((!selectedFont.equals(initialSelectedFont))) {
Toast.makeText(requireContext(), R.string.font_changes_requires_app_restart,
Toast.LENGTH_LONG).show();
NewPipe.setupFont(selectedFont);
final SharedPreferences preferences = PreferenceManager
.getDefaultSharedPreferences(requireContext());
final SharedPreferences.Editor editor = preferences.edit();

View file

@ -4,8 +4,8 @@ include ':app'
// We assume, that NewPipe and NewPipe Extractor have the same parent directory.
// If this is not the case, please change the path in includeBuild().
includeBuild('../NewPipeExtractor') {
dependencySubstitution {
substitute module('com.github.teamnewpipe:NewPipeExtractor') using project(':extractor')
}
}
//includeBuild('../NewPipeExtractor') {
// dependencySubstitution {
// substitute module('com.github.teamnewpipe:NewPipeExtractor') using project(':extractor')
// }
//}