fixed filters subscription purchase dialog
This commit is contained in:
parent
289d9fe904
commit
f74b09954d
|
@ -71,7 +71,7 @@ class FiltersSubscriptionsFragment : BaseFragment(), LoaderManager.LoaderCallbac
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
when (arguments?.getString(EXTRA_ACTION)) {
|
when (arguments?.getString(EXTRA_ACTION)) {
|
||||||
ACTION_ADD_URL_SUBSCRIPTION -> {
|
ACTION_ADD_URL_SUBSCRIPTION -> {
|
||||||
if (extraFeaturesService.isEnabled(ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION).not()) {
|
if (!extraFeaturesService.isEnabled(ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)) {
|
||||||
val df = ExtraFeaturesIntroductionDialogFragment.show(childFragmentManager,
|
val df = ExtraFeaturesIntroductionDialogFragment.show(childFragmentManager,
|
||||||
ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)
|
ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)
|
||||||
df.setTargetFragment(this, REQUEST_ADD_URL_SUBSCRIPTION_PURCHASE)
|
df.setTargetFragment(this, REQUEST_ADD_URL_SUBSCRIPTION_PURCHASE)
|
||||||
|
@ -80,9 +80,11 @@ class FiltersSubscriptionsFragment : BaseFragment(), LoaderManager.LoaderCallbac
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
val df = ExtraFeaturesIntroductionDialogFragment.show(childFragmentManager,
|
if (!extraFeaturesService.isEnabled(ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)) {
|
||||||
ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)
|
val df = ExtraFeaturesIntroductionDialogFragment.show(childFragmentManager,
|
||||||
df.setTargetFragment(this, REQUEST_PURCHASE_EXTRA_FEATURES)
|
ExtraFeaturesService.FEATURE_FILTERS_SUBSCRIPTION)
|
||||||
|
df.setTargetFragment(this, REQUEST_PURCHASE_EXTRA_FEATURES)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue