Skip to content

Commit

Permalink
Merge pull request #18 from Shopify-Partners/dk/fix-color-scheme-switch
Browse files Browse the repository at this point in the history
Fix color scheme switching in sample app
  • Loading branch information
kiftio authored Oct 13, 2023
2 parents 49731e8 + 1953d20 commit 4de95fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
()
}
Expand Down

0 comments on commit 4de95fe

Please sign in to comment.