1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 07:01:05 +00:00

Delete message values on destroy

This commit is contained in:
M66B 2020-04-23 15:59:53 +02:00
parent d4afd593a0
commit 385704a7bd

View file

@ -1295,6 +1295,14 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (pgpService != null && pgpService.isBound()) if (pgpService != null && pgpService.isBound())
pgpService.unbindFromService(); pgpService.unbindFromService();
kv.clear();
values.clear();
sizes.clear();
heights.clear();
positions.clear();
attachments.clear();
accountSwipes.clear();
super.onDestroyView(); super.onDestroyView();
} }