Replace TopSitesUseCases.renameTopSites with TopSitesUseCases.updateTopSites

This commit is contained in:
Gabriel Luong 2021-02-25 16:35:28 -05:00 committed by Arturo Mejia
parent dc002f0508
commit 9cca1b93b5
2 changed files with 6 additions and 2 deletions

View File

@ -325,7 +325,11 @@ class DefaultSessionControlController(
setPositiveButton(R.string.top_sites_rename_dialog_ok) { dialog, _ ->
viewLifecycleScope.launch(Dispatchers.IO) {
with(activity.components.useCases.topSitesUseCase) {
renameTopSites(topSite, topSiteLabelEditText.text.toString())
updateTopSites(
topSite,
topSiteLabelEditText.text.toString(),
topSite.url
)
}
}
dialog.dismiss()

View File

@ -3,5 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "73.0.20210223143117"
const val VERSION = "74.0.20210225143132"
}