Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
chore: show restore payments to only payment enabled users (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Aug 10, 2023
1 parent fa87add commit af3efa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ProfileOptionsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ProfileOptionsViewController: UIViewController {
options.append(.personalInformation)
}

if environment.serverConfig.iapConfig?.enabled ?? false {
if environment.serverConfig.iapConfig?.enabledforUser ?? false {
options.append(.restorePurchase)
}

Expand Down

0 comments on commit af3efa7

Please sign in to comment.