Closes #2699 - Removes Feedback from Settings
parent
22ca1b88a0
commit
c2339e9669
|
@ -33,7 +33,6 @@ import org.mozilla.fenix.R.string.pref_key_accessibility
|
||||||
import org.mozilla.fenix.R.string.pref_key_account
|
import org.mozilla.fenix.R.string.pref_key_account
|
||||||
import org.mozilla.fenix.R.string.pref_key_account_category
|
import org.mozilla.fenix.R.string.pref_key_account_category
|
||||||
import org.mozilla.fenix.R.string.pref_key_data_choices
|
import org.mozilla.fenix.R.string.pref_key_data_choices
|
||||||
import org.mozilla.fenix.R.string.pref_key_feedback
|
|
||||||
import org.mozilla.fenix.R.string.pref_key_help
|
import org.mozilla.fenix.R.string.pref_key_help
|
||||||
import org.mozilla.fenix.R.string.pref_key_language
|
import org.mozilla.fenix.R.string.pref_key_language
|
||||||
import org.mozilla.fenix.R.string.pref_key_leakcanary
|
import org.mozilla.fenix.R.string.pref_key_leakcanary
|
||||||
|
@ -152,13 +151,6 @@ class SettingsFragment : PreferenceFragmentCompat(), CoroutineScope, AccountObse
|
||||||
resources.getString(pref_key_rate) -> {
|
resources.getString(pref_key_rate) -> {
|
||||||
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(SupportUtils.RATE_APP_URL)))
|
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(SupportUtils.RATE_APP_URL)))
|
||||||
}
|
}
|
||||||
resources.getString(pref_key_feedback) -> {
|
|
||||||
(activity as HomeActivity).openToBrowserAndLoad(
|
|
||||||
searchTermOrURL = SupportUtils.FEEDBACK_URL,
|
|
||||||
newTab = true,
|
|
||||||
from = BrowserDirection.FromSettings
|
|
||||||
)
|
|
||||||
}
|
|
||||||
resources.getString(pref_key_about) -> {
|
resources.getString(pref_key_about) -> {
|
||||||
navigateToAbout()
|
navigateToAbout()
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,6 @@ import java.net.URLEncoder
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
object SupportUtils {
|
object SupportUtils {
|
||||||
const val FEEDBACK_URL = "https://input.mozilla.org"
|
|
||||||
const val RATE_APP_URL = "market://details?id=" + BuildConfig.APPLICATION_ID
|
const val RATE_APP_URL = "market://details?id=" + BuildConfig.APPLICATION_ID
|
||||||
const val MOZILLA_MANIFESTO_URL = "https://www.mozilla.org/en-GB/about/manifesto/"
|
const val MOZILLA_MANIFESTO_URL = "https://www.mozilla.org/en-GB/about/manifesto/"
|
||||||
val PRIVACY_NOTICE_URL: String
|
val PRIVACY_NOTICE_URL: String
|
||||||
|
|
|
@ -92,10 +92,6 @@
|
||||||
android:icon="@drawable/ic_bookmark_outline"
|
android:icon="@drawable/ic_bookmark_outline"
|
||||||
android:key="@string/pref_key_rate"
|
android:key="@string/pref_key_rate"
|
||||||
android:title="@string/preferences_rate" />
|
android:title="@string/preferences_rate" />
|
||||||
<androidx.preference.Preference
|
|
||||||
android:icon="@drawable/ic_notification"
|
|
||||||
android:key="@string/pref_key_feedback"
|
|
||||||
android:title="@string/preferences_feedback" />
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
android:icon="@drawable/ic_info"
|
android:icon="@drawable/ic_info"
|
||||||
android:key="@string/pref_key_about"
|
android:key="@string/pref_key_about"
|
||||||
|
|
Loading…
Reference in New Issue