Skip to content

Commit

Permalink
[iOS] Hide playlist sidebar preference when using new playlist UI
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Oct 28, 2024
1 parent d0e69ce commit 9056915
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

import BraveCore
import BraveShared
import BraveUI
import Playlist
Expand Down Expand Up @@ -147,7 +148,7 @@ class PlaylistSettingsViewController: TableViewController {
)
)

if UIDevice.current.userInterfaceIdiom == .pad {
if UIDevice.current.userInterfaceIdiom == .pad, !FeatureList.kNewPlaylistUI.enabled {
var sideSelectionSection = Section(rows: [])
var row = Row(
text: Strings.PlayList.playlistSidebarLocationTitle,
Expand Down

0 comments on commit 9056915

Please sign in to comment.