Hide timeline_settings

This menu item was added upstream, but we already have the menu item
show_room_info which does the same thing, and I prefer its wording to
upstream.

Change-Id: I065eeec4b3fdf4751978776566350823f2da5131
This commit is contained in:
SpiritCroc 2020-10-17 16:42:59 +02:00
parent c5f59b9752
commit 33d59b3ec6
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ class RoomDetailViewModel @AssistedInject constructor(
// For now always disable when not in developer mode, worker cancellation is not working properly
timeline.pendingEventCount() > 0 && vectorPreferences.developerMode()
R.id.resend_all -> state.asyncRoomSummary()?.hasFailedSending == true
R.id.timeline_setting -> true
R.id.timeline_setting -> false // identical to show_room_info (downstream)
R.id.invite -> state.canInvite
R.id.clear_all -> state.asyncRoomSummary()?.hasFailedSending == true
R.id.open_matrix_apps -> session.integrationManagerService().isIntegrationEnabled()