Added not scanned VirusTotal message

This commit is contained in:
M66B
2022-07-24 11:40:12 +02:00
parent 3f3277cbb8
commit 04c632eaa9
3 changed files with 13 additions and 0 deletions

View File

@@ -346,6 +346,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
final ProgressBar pbAnalysis = view.findViewById(R.id.pbAnalysis);
final TextView tvAnalysis = view.findViewById(R.id.tvAnalysis);
final TextView tvLabel = view.findViewById(R.id.tvLabel);
final TextView tvUnknown = view.findViewById(R.id.tvUnknown);
tvName.setText(attachment.name);
pbAnalysis.setMax(count);
@@ -353,6 +354,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
tvAnalysis.setText(malicious + "/" + count);
tvLabel.setText(label);
tvLabel.setVisibility(TextUtils.isEmpty(label) ? View.GONE : View.VISIBLE);
tvUnknown.setVisibility(count == 0 ? View.VISIBLE : View.GONE);
new AlertDialog.Builder(context)
.setView(view)