Skip to content

Commit

Permalink
Fix brave/brave-ios#7247: Move block popups setting to general settin…
Browse files Browse the repository at this point in the history
…gs section. (brave/brave-ios#7330)
  • Loading branch information
iccub authored Apr 25, 2023
1 parent 18d711b commit 7949573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ class BraveShieldsAndPrivacySettingsController: TableViewController {
self.pboModeToggled(value: value)
}
),
.boolRow(title: Strings.blockPopups, option: Preferences.General.blockPopups),
blockMobileAnnoyancesRow,
.boolRow(title: Strings.followUniversalLinks, option: Preferences.General.followUniversalLinks),
]
Expand Down
2 changes: 2 additions & 0 deletions Sources/Brave/Frontend/Settings/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ class SettingsViewController: TableViewController {
title: Strings.mediaAutoBackgrounding,
option: Preferences.General.mediaAutoBackgrounding,
image: UIImage(named: "background_play_settings_icon", in: .module, compatibleWith: nil)!.template),
.boolRow(title: Strings.blockPopups, option: Preferences.General.blockPopups,
image: UIImage(systemName: "macwindow")),
])

let websiteRedirectsRow = Row(
Expand Down

0 comments on commit 7949573

Please sign in to comment.