Browse Source

Hide private browsing myths link

Also turn off Android test for it.

This is easier than actually writing our own documentation, disentangling the
link from the SUMO topic linking system, and changing the tests to respect the
new destination. The downside is that if users don't know what they're doing
with private browsing, we will no longer even try to help them.

This fixes #221.
hide-myths
Adam Novak 11 months ago
parent
commit
f68c56a760
2 changed files with 2 additions and 4 deletions
  1. +0
    -3
      app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt
  2. +2
    -1
      app/src/main/res/layout/private_browsing_description.xml

+ 0
- 3
app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt View File

@ -131,9 +131,6 @@ class HomeScreenTest {
verifyPrivateSessionMessage()
verifyHomeToolbar()
verifyHomeComponent()
}.openCommonMythsLink {
verifyUrl("common-myths-about-private-browsing")
mDevice.pressBack()
}
homeScreen {

+ 2
- 1
app/src/main/res/layout/private_browsing_description.xml View File

@ -39,5 +39,6 @@
android:scrollHorizontally="false"
android:text="@string/private_browsing_common_myths"
android:textColor="?primaryText"
android:textSize="14sp" />
android:textSize="14sp"
android:visibility="gone" />
</LinearLayout>

Loading…
Cancel
Save