Skip to content

Commit

Permalink
Migrate from ProfileEditActivityPresenter
Browse files Browse the repository at this point in the history
  • Loading branch information
dattasneha committed Sep 5, 2024
1 parent 6e1561e commit 763f1a7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class ProfileEditActivityPresenter @Inject constructor(

toolbar.setNavigationOnClickListener {
if (isMultipane) {
@Suppress("DEPRECATION") // TODO(#5404): Migrate to a back pressed dispatcher.
activity.onBackPressed()
activity.onBackPressedDispatcher.onBackPressed()
} else {
val intent = Intent(activity, ProfileListActivity::class.java)
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
Expand Down

0 comments on commit 763f1a7

Please sign in to comment.