File tree 1 file changed +5
-4
lines changed
app/src/main/java/org/schabi/newpipe
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -131,9 +131,6 @@ public class MainActivity extends AppCompatActivity {
131
131
132
132
@ Override
133
133
protected void onCreate (final Bundle savedInstanceState ) {
134
- // Apply the preferred font globally
135
- final String preferredFont = getPreferredFont (this );
136
- setUpFont (preferredFont );
137
134
if (DEBUG ) {
138
135
Log .d (TAG , "onCreate() called with: "
139
136
+ "savedInstanceState = [" + savedInstanceState + "]" );
@@ -178,10 +175,14 @@ protected void onCreate(final Bundle savedInstanceState) {
178
175
&& ReleaseVersionUtil .INSTANCE .isReleaseApk ()) {
179
176
UpdateSettingsFragment .askForConsentToUpdateChecks (this );
180
177
}
178
+
179
+ // Apply the preferred font globally
180
+ final String preferredFont = getPreferredFont (this );
181
+ setUpFont (preferredFont );
182
+
181
183
if (!preferredFont .equals (getString (R .string .default_font_key ))) {
182
184
Fonty .setFonts (this );
183
185
}
184
-
185
186
}
186
187
187
188
@ Override
You can’t perform that action at this time.
0 commit comments