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:
parent
6882ac0ad2
commit
9c188ce73e
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
prefs.edit().remove("last_composing").apply();
|
||||||
|
|
||||||
finishAndRemoveTask();
|
finishAndRemoveTask();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue