mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 08:38:43 +01:00
Disable some more reporting mechanisms
This commit is contained in:
parent
c755c5de0a
commit
adaecddb48
@ -261,6 +261,7 @@ class HomeActivity : VectorBaseActivity(), ToolbarConfigurable {
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
when (item.itemId) {
|
||||
/*
|
||||
R.id.menu_home_suggestion -> {
|
||||
bugReporter.openBugReportScreen(this, true)
|
||||
return true
|
||||
@ -269,6 +270,7 @@ class HomeActivity : VectorBaseActivity(), ToolbarConfigurable {
|
||||
bugReporter.openBugReportScreen(this, false)
|
||||
return true
|
||||
}
|
||||
*/
|
||||
R.id.menu_home_filter -> {
|
||||
navigator.openRoomsFiltering(this)
|
||||
return true
|
||||
|
@ -751,7 +751,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
|
||||
* @return true if the rage shake is used
|
||||
*/
|
||||
fun useRageshake(): Boolean {
|
||||
return defaultPrefs.getBoolean(SETTINGS_USE_RAGE_SHAKE_KEY, true)
|
||||
return false; //defaultPrefs.getBoolean(SETTINGS_USE_RAGE_SHAKE_KEY, false)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!--
|
||||
<item
|
||||
android:id="@+id/menu_home_suggestion"
|
||||
android:icon="@drawable/ic_material_bug_report"
|
||||
@ -11,6 +12,7 @@
|
||||
android:id="@+id/menu_home_report_bug"
|
||||
android:icon="@drawable/ic_material_bug_report"
|
||||
android:title="@string/send_bug_report" />
|
||||
-->
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_home_filter"
|
||||
@ -18,4 +20,4 @@
|
||||
android:title="@string/home_filter_placeholder_home"
|
||||
app:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
</menu>
|
||||
|
@ -34,10 +34,11 @@
|
||||
|
||||
<im.vector.riotx.core.preference.VectorPreferenceCategory
|
||||
android:key="SETTINGS_RAGE_SHAKE_CATEGORY_KEY"
|
||||
android:title="@string/settings_rageshake">
|
||||
android:title="@string/settings_rageshake"
|
||||
android:enabled="false">
|
||||
|
||||
<im.vector.riotx.core.preference.VectorSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:key="SETTINGS_USE_RAGE_SHAKE_KEY"
|
||||
android:title="@string/send_bug_report_rage_shake" />
|
||||
|
||||
@ -81,4 +82,4 @@
|
||||
|
||||
</im.vector.riotx.core.preference.VectorPreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
Loading…
x
Reference in New Issue
Block a user