TP-50532 | Reduced Leaderboard Gratification Delay (#9293)
Co-authored-by: Kamalesh Garnayak <Kamalesh.Garnayak@navi.com>
This commit is contained in:
committed by
GitHub
parent
e1a40e2088
commit
512f8fdfea
@@ -147,7 +147,7 @@ fun LeaderboardScreen(
|
||||
leaderboardAnalytics.sendEvent(
|
||||
NaviRRAnalytics.REFERRAL_LEADERBOARD_PAGE_DISAPPEARS,
|
||||
)
|
||||
onBackPress()
|
||||
context.finish()
|
||||
}
|
||||
Constants.WHATSAPP_SHARE -> {
|
||||
leaderboardScreenVM.rrShareApp.shareWhatsapp(parameters,
|
||||
|
||||
@@ -63,9 +63,6 @@ object NaviRRDeeplinkNavigator {
|
||||
REWARDS_DASHBOARD -> {
|
||||
intent = Intent(activity, RewardsDashboardActivity::class.java)
|
||||
}
|
||||
// REWARDS_DASHBOARD -> {
|
||||
// intent = Intent(activity, LeaderboardActivity::class.java)
|
||||
// }
|
||||
|
||||
REFERRAL -> {
|
||||
intent = Intent(activity, ReferralHomeActivity::class.java)
|
||||
|
||||
@@ -508,7 +508,6 @@ class ReferralHomeActivity : BaseActivity(), WidgetCallback, UpdateHeaderListene
|
||||
navigateToFragment(naviClickAction.url.toString(), bundle = bundle)
|
||||
} else {
|
||||
if (naviClickAction.url?.equals(LEADERBOARD) == true) {
|
||||
widgetNaviAnalyticsEventTracker.onWidgetClickEvent(naviClickAction)
|
||||
DeepLinkManager.getDeepLinkListener()?.navigateTo(
|
||||
activity = this,
|
||||
ctaData = naviClickAction.toCtaData(),
|
||||
|
||||
@@ -53,7 +53,6 @@ class ReferralHomeVM @Inject constructor(
|
||||
|
||||
fun fetchPopUpFragment() {
|
||||
coroutineScope.launch {
|
||||
delay(3000)
|
||||
val response = referralHomeRepo.fetchPopUpFragment()
|
||||
if (response.error == null && response.errors.isNullOrEmpty()) {
|
||||
_popUpFragment.value = response.data
|
||||
|
||||
Reference in New Issue
Block a user