From e5bb0d744b9712759b21830f6b3de681bbde3b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B0=D1=86=D0=B5=D0=BF=D0=B8=D0=BD?= Date: Mon, 23 Mar 2020 13:00:11 +0300 Subject: [PATCH] [android] Fixed selection of correct subscription monthly price on bookmark single purchase screen --- .../com/mapswithme/maps/purchase/BookmarkPaymentFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java index cb9f8efabf..d2de6c4242 100644 --- a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java +++ b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java @@ -192,8 +192,9 @@ public class BookmarkPaymentFragment extends BaseMwmFragment activateState(BookmarkPaymentState.PRODUCT_DETAILS_LOADING); mPurchaseController.queryProductDetails(); + SubscriptionType type = SubscriptionType.getTypeByBookmarksGroup(mPaymentData.getGroup()); List subsProductIds = - Collections.singletonList(PrivateVariables.bookmarksSubscriptionMonthlyProductId()); + Collections.singletonList(type.getMonthlyProductId()); mSubsProductDetailsLoadingManager.queryProductDetails(subsProductIds); }