 
 final class SearchBarSettingsViewModel {
 
-    /// New user defaults to bottom search bar, existing users keep their existing search bar position
-    static func getDefaultSearchPosition() -> SearchBarPosition {
-        return InstallType.get() == .fresh ? .bottom : .top
-    }
-    
     static var isEnabled: Bool {
         let isiPad = UIDevice.current.userInterfaceIdiom == .pad
         let isFeatureEnabled = FeatureFlagsManager.shared.isFeatureActiveForBuild(.bottomSearchBar)

    }

    var searchBarPosition: SearchBarPosition {
        let defaultPosition = SearchBarSettingsViewModel.getDefaultSearchPosition()
        guard let raw = prefs.stringForKey(PrefsKeys.KeySearchBarPosition) else {
            // Do not notify if it's the default position being saved
            saveSearchBarPosition(defaultPosition, shouldNotify: false)
            return defaultPosition

// MARK: Private
private extension SearchBarSettingsViewModel {

    /// New user defaults to bottom search bar, existing users keep their existing search bar position
    func getDefaultSearchPosition() -> SearchBarPosition {
        return InstallType.get() == .fresh ? .bottom : .top
    }

    func saveSearchBarPosition(_ searchBarPosition: SearchBarPosition, shouldNotify: Bool = true) {
        prefs.setString(searchBarPosition.rawValue,
                        forKey: PrefsKeys.KeySearchBarPosition)
