1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Clear last composing on exit

This commit is contained in:
M66B 2022-07-04 16:44:40 +02:00
parent 6882ac0ad2
commit 9c188ce73e

View file

@ -86,6 +86,9 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
}
}
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
prefs.edit().remove("last_composing").apply();
finishAndRemoveTask();
}
}