|
|
@ -268,13 +268,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
|
|
|
|
|
|
|
private RecyclerView rvAttachment;
|
|
|
|
private RecyclerView rvAttachment;
|
|
|
|
private CheckBox cbInline;
|
|
|
|
private CheckBox cbInline;
|
|
|
|
private ImageButton ibDecrypt;
|
|
|
|
|
|
|
|
private Button btnDownloadAttachments;
|
|
|
|
private Button btnDownloadAttachments;
|
|
|
|
private Button btnSaveAttachments;
|
|
|
|
private Button btnSaveAttachments;
|
|
|
|
private TextView tvNoInternetAttachments;
|
|
|
|
private TextView tvNoInternetAttachments;
|
|
|
|
|
|
|
|
|
|
|
|
private BottomNavigationView bnvActions;
|
|
|
|
private BottomNavigationView bnvActions;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private ImageButton ibDecrypt;
|
|
|
|
private ImageButton ibImages;
|
|
|
|
private ImageButton ibImages;
|
|
|
|
private ImageButton ibFull;
|
|
|
|
private ImageButton ibFull;
|
|
|
|
private TextView tvBody;
|
|
|
|
private TextView tvBody;
|
|
|
@ -836,13 +836,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
pbCalendarWait.setVisibility(View.GONE);
|
|
|
|
pbCalendarWait.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
cbInline.setVisibility(View.GONE);
|
|
|
|
cbInline.setVisibility(View.GONE);
|
|
|
|
ibDecrypt.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
btnDownloadAttachments.setVisibility(View.GONE);
|
|
|
|
btnDownloadAttachments.setVisibility(View.GONE);
|
|
|
|
btnSaveAttachments.setVisibility(View.GONE);
|
|
|
|
btnSaveAttachments.setVisibility(View.GONE);
|
|
|
|
tvNoInternetAttachments.setVisibility(View.GONE);
|
|
|
|
tvNoInternetAttachments.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
bnvActions.setVisibility(View.GONE);
|
|
|
|
bnvActions.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ibDecrypt.setVisibility(View.GONE);
|
|
|
|
ibImages.setVisibility(View.GONE);
|
|
|
|
ibImages.setVisibility(View.GONE);
|
|
|
|
ibFull.setVisibility(View.GONE);
|
|
|
|
ibFull.setVisibility(View.GONE);
|
|
|
|
tvBody.setVisibility(View.GONE);
|
|
|
|
tvBody.setVisibility(View.GONE);
|
|
|
@ -1388,9 +1388,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
if (message == null)
|
|
|
|
if (message == null)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
if (view.getId() == R.id.ibDecrypt)
|
|
|
|
if (view.getId() == R.id.ivSnoozed)
|
|
|
|
onMenuDecrypt(message);
|
|
|
|
|
|
|
|
else if (view.getId() == R.id.ivSnoozed)
|
|
|
|
|
|
|
|
onShowSnoozed(message);
|
|
|
|
onShowSnoozed(message);
|
|
|
|
else if (view.getId() == R.id.ivFlagged)
|
|
|
|
else if (view.getId() == R.id.ivFlagged)
|
|
|
|
onToggleFlag(message);
|
|
|
|
onToggleFlag(message);
|
|
|
@ -1411,6 +1409,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
case R.id.btnSaveAttachments:
|
|
|
|
case R.id.btnSaveAttachments:
|
|
|
|
onSaveAttachments(message);
|
|
|
|
onSaveAttachments(message);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case R.id.ibDecrypt:
|
|
|
|
|
|
|
|
onMenuDecrypt(message);
|
|
|
|
|
|
|
|
break;
|
|
|
|
case R.id.ibImages:
|
|
|
|
case R.id.ibImages:
|
|
|
|
onShowImages(message);
|
|
|
|
onShowImages(message);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|