mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 02:23:38 +02:00
Simplification
This commit is contained in:
@@ -4338,19 +4338,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
onActionOpenFullConfirmed(message);
|
||||
else {
|
||||
LayoutInflater inflater = LayoutInflater.from(context);
|
||||
View dview = inflater.inflate(R.layout.dialog_ask_again, null, false);
|
||||
final TextView tvMessage = dview.findViewById(R.id.tvMessage);
|
||||
final ImageButton ibInfo = dview.findViewById(R.id.ibInfo);
|
||||
final TextView tvRemark = dview.findViewById(R.id.tvRemark);
|
||||
final CheckBox cbConfirm = dview.findViewById(R.id.cbConfirm);
|
||||
View dview = inflater.inflate(R.layout.dialog_ask_full, null, false);
|
||||
final CheckBox cbNotAgain = dview.findViewById(R.id.cbNotAgain);
|
||||
final TextView tvAccept = dview.findViewById(R.id.tvAccept);
|
||||
|
||||
tvMessage.setText(R.string.title_ask_show_html);
|
||||
ibInfo.setVisibility(View.GONE);
|
||||
tvRemark.setText(R.string.title_ask_show_image_hint);
|
||||
cbConfirm.setVisibility(View.GONE);
|
||||
tvAccept.setVisibility(View.GONE);
|
||||
|
||||
new AlertDialog.Builder(context)
|
||||
.setView(dview)
|
||||
|
||||
Reference in New Issue
Block a user