mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 04:34:55 -06:00
28 lines
691 B
Swift
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
|
|
}
|