From 8775b59fe1bef5f19bf24acb042d0e68d243141c Mon Sep 17 00:00:00 2001 From: Sneha Datta Date: Thu, 5 Sep 2024 17:30:56 +0530 Subject: [PATCH] Migrate from WalkthroughFinalFragmentPresenter --- .../app/walkthrough/end/WalkthroughFinalFragmentPresenter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/oppia/android/app/walkthrough/end/WalkthroughFinalFragmentPresenter.kt b/app/src/main/java/org/oppia/android/app/walkthrough/end/WalkthroughFinalFragmentPresenter.kt index abd286f77d8..8aaf1826a18 100644 --- a/app/src/main/java/org/oppia/android/app/walkthrough/end/WalkthroughFinalFragmentPresenter.kt +++ b/app/src/main/java/org/oppia/android/app/walkthrough/end/WalkthroughFinalFragmentPresenter.kt @@ -103,7 +103,6 @@ class WalkthroughFinalFragmentPresenter @Inject constructor( } override fun goBack() { - @Suppress("DEPRECATION") // TODO(#5404): Migrate to a back pressed dispatcher. - activity.onBackPressed() + activity.onBackpressedDispatcher.onBackPressed() } }