mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 09:10:53 +01:00
Removes top bar back arrow
This commit is contained in:
parent
93264812c0
commit
a07c1b8afa
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user