We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f388a1a + 3223ec0 commit 5e593f6Copy full SHA for 5e593f6
1 file changed
app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java
@@ -2,6 +2,7 @@
2
3
import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage;
4
5
+import android.content.Context;
6
import android.os.Bundle;
7
import android.text.TextUtils;
8
import android.util.Log;
@@ -228,7 +229,9 @@ private void initSearch(
228
229
230
231
// Build search items
- final PreferenceParser parser = new PreferenceParser(getApplicationContext(), config);
232
+ final Context searchContext = getApplicationContext();
233
+ assureCorrectAppLanguage(searchContext);
234
+ final PreferenceParser parser = new PreferenceParser(searchContext, config);
235
final PreferenceSearcher searcher = new PreferenceSearcher(config);
236
237
// Find all searchable SettingsResourceRegistry fragments
0 commit comments