mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Added option to restore app state on start
This commit is contained in:
@@ -1664,6 +1664,9 @@ public class FragmentCompose extends FragmentBase {
|
||||
onAction(R.id.action_save, extras, "pause");
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
prefs.edit().putLong("last_composing", working).apply();
|
||||
|
||||
ConnectivityManager cm = Helper.getSystemService(context, ConnectivityManager.class);
|
||||
cm.unregisterNetworkCallback(networkCallback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user