2024-04-22 18:54:33 -05:00

28 lines
691 B
Swift

import BitwardenSdk
import Foundation
/// A route to a specific screen in the settings tab.
///
public enum SettingsRoute: Equatable, Hashable {
/// A route that dismisses the current view.
case dismiss
/// A route to the export items view.
case exportItems
/// A route to view the select language view.
///
/// - Parameter currentLanguage: The currently selected language option.
///
case selectLanguage(currentLanguage: LanguageOption)
/// A route to the settings screen.
case settings
/// A route to the share sheet for an exported items URL.
case shareExportedItems(URL)
/// A route to show the tutorial.
case tutorial
}