From 053389ef1ac35f0391c6bd2dc5a98f27c91cd912 Mon Sep 17 00:00:00 2001 From: Vishwajith-Shettigar Date: Wed, 20 Dec 2023 16:17:54 +0530 Subject: [PATCH] fixed no way to come back to home from story --- .../app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt | 1 - .../app/player/exploration/ExplorationActivityPresenter.kt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt b/app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt index fcd8a8b3c7c..183a4895d63 100755 --- a/app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt +++ b/app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt @@ -198,7 +198,6 @@ class RecentlyPlayedFragmentPresenter @Inject constructor( parentScreen = ExplorationActivityParams.ParentScreen.PARENT_SCREEN_UNSPECIFIED, isCheckpointingEnabled = canHavePartialProgressSaved ) - activity.finish() } } } diff --git a/app/src/main/java/org/oppia/android/app/player/exploration/ExplorationActivityPresenter.kt b/app/src/main/java/org/oppia/android/app/player/exploration/ExplorationActivityPresenter.kt index cd4a33b2d24..e2247b2367a 100644 --- a/app/src/main/java/org/oppia/android/app/player/exploration/ExplorationActivityPresenter.kt +++ b/app/src/main/java/org/oppia/android/app/player/exploration/ExplorationActivityPresenter.kt @@ -397,6 +397,7 @@ class ExplorationActivityPresenter @Inject constructor( activity.startActivity( TopicActivity.createTopicActivityIntent(context, profileId.internalId, topicId) ) + activity.finish() } } }