Skip to content

Commit

Permalink
Remove duplicate link on tracker screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-BaptisteC committed Jan 19, 2024
1 parent 9334ccf commit 24b45db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ class TrackerDetailFragment : Fragment(R.layout.fragment_tracker_detail) {
} else {
trackerDescTV.visibility = View.GONE
}
trackerWebURLTV.text = tracker.website

// Tracker code and network signatures
codeSignTV.text = tracker.code_signature
Expand Down
17 changes: 1 addition & 16 deletions app/src/main/res/layout/fragment_tracker_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,6 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/trackerPresenceTV" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/trackerWebURLTV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:ellipsize="end"
android:maxLines="2"
android:paddingHorizontal="40dp"
android:textColor="?android:textColorPrimary"
android:textSize="15sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/trackerDescTV"
tools:text="https://www.huaweicentral.com/hms-core/" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/trackerDetectTV"
android:layout_width="match_parent"
Expand All @@ -106,7 +91,7 @@
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/trackerWebURLTV" />
app:layout_constraintTop_toBottomOf="@+id/trackerDescTV" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/codeDetectTV"
Expand Down

0 comments on commit 24b45db

Please sign in to comment.