Skip to content

Commit

Permalink
Merge pull request #5765 from chagai95/fix-setting-transfer-title
Browse files Browse the repository at this point in the history
Fix setting transfer title
  • Loading branch information
bmarty authored Apr 14, 2022
2 parents aa55b1f + f6c0050 commit c58b8ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5765.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixing setting transfer title in call transfer.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class CallTransferActivity : VectorBaseActivity<ActivityCallTransferBinding>() {
}.attach()
setupToolbar(views.callTransferToolbar)
.allowBack()
views.callTransferToolbar.title = getString(R.string.call_transfer_title)
setupConnectAction()
}

Expand Down
3 changes: 2 additions & 1 deletion vector/src/main/res/layout/activity_call_transfer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/callTransferToolbar"
app:title="@string/call_transfer_title"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

Expand Down Expand Up @@ -86,4 +87,4 @@
layout="@layout/merge_overlay_waiting_view" />

</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 comments on commit c58b8ac

Please sign in to comment.