mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Disable filtering on not detecting language
This commit is contained in:
@@ -362,10 +362,13 @@ public class ViewModelMessages extends ViewModel {
|
||||
this.filter_unflagged = prefs.getBoolean("filter_unflagged", false);
|
||||
this.filter_unknown = prefs.getBoolean("filter_unknown", false);
|
||||
this.filter_snoozed = prefs.getBoolean("filter_snoozed", true);
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q)
|
||||
|
||||
boolean language_detection = prefs.getBoolean("language_detection", false);
|
||||
if (!language_detection || Build.VERSION.SDK_INT < Build.VERSION_CODES.Q)
|
||||
this.filter_language = null;
|
||||
else
|
||||
this.filter_language = prefs.getString("filter_language", null);
|
||||
|
||||
this.debug = prefs.getBoolean("debug", false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user