mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Refactoring
This commit is contained in:
@@ -25,7 +25,6 @@ import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
@@ -142,9 +141,9 @@ public class FragmentOperations extends FragmentEx {
|
||||
protected Void onLoad(Context context, Bundle args) {
|
||||
DB db = DB.getInstance(context);
|
||||
List<EntityOperation> ops = db.operation().getOperationsError();
|
||||
Log.i(Helper.TAG, "Operations with error count=" + ops.size());
|
||||
Log.i("Operations with error count=" + ops.size());
|
||||
for (EntityOperation op : ops) {
|
||||
Log.w(Helper.TAG, "Deleting operation=" + op.id + " error=" + op.error);
|
||||
Log.w("Deleting operation=" + op.id + " error=" + op.error);
|
||||
if (op.message != null)
|
||||
db.message().setMessageUiHide(op.message, false);
|
||||
db.operation().deleteOperation(op.id);
|
||||
|
||||
Reference in New Issue
Block a user