Skip to content

Commit

Permalink
Hide network rule when signature is empty (#338)
Browse files Browse the repository at this point in the history
Co-authored-by: Codimp <[email protected]>
  • Loading branch information
Jean-BaptisteC and codeurimpulsif authored Dec 8, 2023
1 parent 0020b5a commit c2fe5ed
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ class TrackerDetailFragment : Fragment(R.layout.fragment_tracker_detail) {
codeSignTV.text = tracker.code_signature
if (tracker.network_signature.isNotEmpty()) {
networkSignTV.text = tracker.network_signature
networkDetectTV.visibility = View.VISIBLE
networkSignTV.visibility = View.VISIBLE
} else {
networkSignTV.text = "NC"
networkDetectTV.visibility = View.GONE
networkSignTV.visibility = View.GONE
}
}
}
Expand Down

0 comments on commit c2fe5ed

Please sign in to comment.