Charset: reset size/pos

pull/208/head
M66B 3 years ago
parent d4b8911e1f
commit d571d6f93d

@ -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…
Cancel
Save