Skip to content

Commit

Permalink
Add feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Amin authored and Sophie Amin committed Nov 5, 2024
1 parent 3b35e14 commit f00918e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firefox-ios/Client/FeatureFlags/NimbusFlaggableFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ enum NimbusFeatureFlagID: String, CaseIterable {
// Add flags here if you want to toggle them in the `FeatureFlagsDebugViewController`
var debugKey: String? {
switch self {
case .closeRemoteTabs,
case .bookmarksRefactor,
.closeRemoteTabs,
.microsurvey,
.homepageRebuild,
.menuRefactor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ final class FeatureFlagsDebugViewController: SettingsTableViewController, Featur
return SettingSection(
title: nil,
children: [
FeatureFlagsBoolSetting(
with: .bookmarksRefactor,
titleText: format(string: "Enable Bookmarks Redesign"),
statusText: format(string: "Toggle to use the new bookmarks design")
) { [weak self] _ in
self?.reloadView()
},
FeatureFlagsBoolSetting(
with: .closeRemoteTabs,
titleText: format(string: "Enable Close Remote Tabs"),
Expand Down

0 comments on commit f00918e

Please sign in to comment.