mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Charset: reset size/pos
This commit is contained in:
parent
d4b8911e1f
commit
d571d6f93d
1 changed files with 5 additions and 1 deletions
|
@ -6097,6 +6097,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
|
||||
@Override
|
||||
public boolean onMenuItemClick(MenuItem item) {
|
||||
properties.setSize(message.id, null);
|
||||
properties.setHeight(message.id, null);
|
||||
properties.setPosition(message.id, null);
|
||||
|
||||
args.putString("charset", item.getIntent().getStringExtra("charset"));
|
||||
|
||||
new SimpleTask<Void>() {
|
||||
|
@ -6113,7 +6117,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (message == null)
|
||||
return null;
|
||||
|
||||
db.message().resetMessageContent(id);
|
||||
db.message().resetMessageContent(message.id);
|
||||
EntityOperation.queue(context, message, EntityOperation.BODY, null, charset);
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
|
Loading…
Reference in a new issue