From 35765d3594667ad6e781a8aaf57785ef456cf56a Mon Sep 17 00:00:00 2001 From: Jean-BaptisteC Date: Sun, 17 Sep 2023 12:11:23 +0200 Subject: [PATCH] Hide network rule when signature is empty --- .../fragments/trackerdetail/TrackerDetailFragment.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/fragments/trackerdetail/TrackerDetailFragment.kt b/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/fragments/trackerdetail/TrackerDetailFragment.kt index d2ee72c9..7ccb676a 100644 --- a/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/fragments/trackerdetail/TrackerDetailFragment.kt +++ b/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/fragments/trackerdetail/TrackerDetailFragment.kt @@ -116,8 +116,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 } } }