diff --git a/Samples/MobileBuyIntegration/MobileBuyIntegration/SettingsViewController.swift b/Samples/MobileBuyIntegration/MobileBuyIntegration/SettingsViewController.swift index e204cf10..0fe9f86e 100644 --- a/Samples/MobileBuyIntegration/MobileBuyIntegration/SettingsViewController.swift +++ b/Samples/MobileBuyIntegration/MobileBuyIntegration/SettingsViewController.swift @@ -160,7 +160,7 @@ class SettingsViewController: UITableViewController { navigationController?.navigationBar.standardAppearance = navigationBarAppearance navigationController?.navigationBar.scrollEdgeAppearance = navigationBarAppearance view?.window?.overrideUserInterfaceStyle = newColorScheme.userInterfaceStyle - tableView.reloadSections(IndexSet(integer: 1), with: .automatic) + tableView.reloadSections(IndexSet(integer: Section.colorScheme.rawValue), with: .automatic) default: () }