Skip to content

Commit

Permalink
Remove duplicated settings declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenaud14 committed Nov 22, 2021
1 parent 97a44a5 commit 6c81bf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
1 change: 1 addition & 0 deletions changelog.d/4539.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove duplicated settings declaration
18 changes: 2 additions & 16 deletions vector/src/main/res/xml/vector_settings_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<im.vector.app.core.preference.VectorSwitchPreference
android:defaultValue="false"
android:key="SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME"
android:title="@string/preference_show_all_rooms_in_home"
android:summary="@string/all_rooms_youre_in_will_be_shown_in_home" />
android:summary="@string/all_rooms_youre_in_will_be_shown_in_home"
android:title="@string/preference_show_all_rooms_in_home" />

</im.vector.app.core.preference.VectorPreferenceCategory>

Expand Down Expand Up @@ -121,20 +121,6 @@
android:summary="@string/settings_chat_effects_description"
android:title="@string/settings_chat_effects_title" />

<im.vector.app.core.preference.VectorSwitchPreference
android:defaultValue="true"
android:key="SETTINGS_SHOW_JOIN_LEAVE_MESSAGES_KEY"
android:summary="@string/settings_show_join_leave_messages_summary"
android:title="@string/settings_show_join_leave_messages"
app:isPreferenceVisible="@bool/false_not_implemented" />

<im.vector.app.core.preference.VectorSwitchPreference
android:defaultValue="true"
android:key="SETTINGS_SHOW_AVATAR_DISPLAY_NAME_CHANGES_MESSAGES_KEY"
android:summary="@string/settings_show_avatar_display_name_changes_messages_summary"
android:title="@string/settings_show_avatar_display_name_changes_messages"
app:isPreferenceVisible="@bool/false_not_implemented" />

<im.vector.app.core.preference.VectorSwitchPreference
android:key="SETTINGS_VIBRATE_ON_MENTION_KEY"
android:title="@string/settings_vibrate_on_mention"
Expand Down

0 comments on commit 6c81bf6

Please sign in to comment.