Small improvement

pull/192/head
M66B 4 years ago
parent 6a45a60536
commit d56e7a8c88

@ -5372,7 +5372,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
this.authentication = prefs.getBoolean("authentication", true);
this.language_detection = prefs.getBoolean("language_detection", false);
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
languages = new ArrayList<>();
LocaleList ll = context.getResources().getConfiguration().getLocales();
for (int i = 0; i < ll.size(); i++)

Loading…
Cancel
Save