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
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir committed Aug 8, 2023
1 parent fa87add commit 647f518
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 647f518

Please sign in to comment.