Skip to content

Commit

Permalink
Merge pull request #294 from ivpn/feature/antitracker-play-store-version
Browse files Browse the repository at this point in the history
AntiTracker in Play Store version
  • Loading branch information
jurajhilje authored Nov 1, 2023
2 parents 4ff3c42 + 4bba95a commit cb9dbff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion core/src/main/res/layout/content_anti_surveillance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:visibility="@{antitracker.isAntiTrackerSupported ? View.VISIBLE : View.GONE}">

<LinearLayout
android:layout_width="match_parent"
Expand Down
6 changes: 2 additions & 4 deletions core/src/main/res/layout/settings_section_advanced.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/color_section_divider"
android:visibility="@{antiTracker.isAntiTrackerSupported ? View.VISIBLE : View.GONE}" />
android:background="@color/color_section_divider" />

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/anti_tracker_layout"
Expand All @@ -222,8 +221,7 @@
android:clickable="true"
android:focusable="true"
android:gravity="center_vertical"
android:orientation="vertical"
android:visibility="@{antiTracker.isAntiTrackerSupported ? View.VISIBLE : View.GONE}">
android:orientation="vertical">

<TextView
android:id="@+id/antitracker_title"
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/res/layout/view_sliding_panel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,7 @@
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:visibility="@{antitracker.isAntiTrackerSupported ? View.VISIBLE : View.GONE}">
android:focusable="true">

<View
android:id="@+id/sepation_line"
Expand Down

0 comments on commit cb9dbff

Please sign in to comment.