mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Undo encryption for threads only
This commit is contained in:
parent
e977c02833
commit
9efdc4b3f8
1 changed files with 3 additions and 1 deletions
|
@ -4994,7 +4994,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
private void handleExit() {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean auto_undecrypt = prefs.getBoolean("auto_undecrypt", false);
|
||||
if (auto_undecrypt) {
|
||||
|
||||
if (auto_undecrypt &&
|
||||
viewType == AdapterMessage.ViewType.THREAD) {
|
||||
List<Long> ids = new ArrayList<>();
|
||||
for (int i = 0; i < adapter.getItemCount(); i++) {
|
||||
TupleMessageEx message = adapter.getItemAtPosition(i);
|
||||
|
|
Loading…
Reference in a new issue