Updating the title of the map view screen

This commit is contained in:
Maxime NATUREL 2022-05-10 17:27:41 +02:00
parent 52c0fa41c6
commit 54d7d47dfc

View File

@ -20,6 +20,7 @@ import android.content.Context
import android.content.Intent
import android.os.Parcelable
import dagger.hilt.android.AndroidEntryPoint
import im.vector.app.R
import im.vector.app.core.extensions.addFragment
import im.vector.app.core.platform.VectorBaseActivity
import im.vector.app.databinding.ActivityLocationSharingBinding
@ -42,8 +43,7 @@ class LocationLiveMapViewActivity : VectorBaseActivity<ActivityLocationSharingBi
return
}
setupToolbar(views.toolbar)
// TODO check what should be the title and create String resource
.setTitle("Live")
.setTitle(getString(R.string.location_activity_title_preview))
.allowBack()
if (isFirstCreation()) {