From c2fe5ed2a01fc9731c8cc7fd6d51dd649f93cd85 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <87148630+Jean-BaptisteC@users.noreply.github.com> Date: Fri, 8 Dec 2023 07:00:23 +0100 Subject: [PATCH] Hide network rule when signature is empty (#338) Co-authored-by: Codimp --- .../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 b3b4d3a0..0ecf9e88 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 @@ -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 } } }