Removes top bar back arrow

This commit is contained in:
ericdecanini 2022-05-23 13:46:53 +01:00
parent 93264812c0
commit a07c1b8afa
2 changed files with 0 additions and 22 deletions

View file

@ -145,10 +145,6 @@ class HomeDetailFragment @Inject constructor(
updateTabVisibilitySafely(R.id.bottom_action_dial_pad, showDialPadTab)
}
views.groupToolbarNavigateUp.setOnClickListener {
navigateBack()
}
viewModel.observeViewEvents { viewEvent ->
when (viewEvent) {
HomeDetailViewEvents.CallStarted -> handleCallStarted()
@ -307,13 +303,9 @@ class HomeDetailFragment @Inject constructor(
private fun onSpaceChange(spaceSummary: RoomSummary?) {
if (spaceSummary == null) {
views.groupToolbarSpaceTitleView.isVisible = false
views.groupToolbarAvatarImageView.isVisible = true
views.groupToolbarNavigateUp.isVisible = false
} else {
views.groupToolbarSpaceTitleView.isVisible = true
views.groupToolbarSpaceTitleView.text = spaceSummary.displayName
views.groupToolbarAvatarImageView.isVisible = false
views.groupToolbarNavigateUp.isVisible = true
}
}

View file

@ -74,20 +74,6 @@
</RelativeLayout>
<ImageView
android:id="@+id/groupToolbarNavigateUp"
android:layout_width="28dp"
android:layout_height="28dp"
android:src="@drawable/ic_arrow_back"
android:layout_marginEnd="8dp"
android:contentDescription="@string/a11y_navigate_up_space"
android:visibility="gone"
app:tint="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingPrefix" />
<LinearLayout
android:id="@+id/homeToolbarContent"
android:layout_width="0dp"