Added setting to add shared files to existing draft

This commit is contained in:
M66B
2021-08-24 11:27:20 +02:00
parent 5e9b6642a5
commit 684758371a
5 changed files with 27 additions and 13 deletions

View File

@@ -1424,9 +1424,6 @@ public class FragmentCompose extends FragmentBase {
Bundle extras = new Bundle();
extras.putBoolean("autosave", true);
onAction(R.id.action_save, extras, "pause");
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
prefs.edit().putLong("last_composed", new Date().getTime()).apply();
}
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);