mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Fixed pull down to send
This commit is contained in:
@@ -196,13 +196,11 @@ public class FragmentMessages extends FragmentEx {
|
||||
@Override
|
||||
public void onRefresh() {
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("account", account);
|
||||
args.putLong("folder", folder);
|
||||
|
||||
new SimpleTask<Boolean>() {
|
||||
@Override
|
||||
protected Boolean onLoad(Context context, Bundle args) {
|
||||
long aid = args.getLong("account");
|
||||
long fid = args.getLong("folder");
|
||||
|
||||
boolean connected = false;
|
||||
@@ -212,7 +210,7 @@ public class FragmentMessages extends FragmentEx {
|
||||
db.beginTransaction();
|
||||
|
||||
List<EntityFolder> folders = new ArrayList<>();
|
||||
if (aid < 0)
|
||||
if (fid < 0)
|
||||
folders.addAll(db.folder().getUnifiedFolders());
|
||||
else
|
||||
folders.add(db.folder().getFolder(fid));
|
||||
|
||||
Reference in New Issue
Block a user