Fixes #1699 - Introduce a new advanced settings screen (#1700)

This commit is contained in:
Stefan Ceriu
2023-09-14 08:37:42 +03:00
committed by GitHub
parent 21856e994a
commit 761d508ae5
18 changed files with 309 additions and 75 deletions
@@ -25,13 +25,13 @@ enum SettingsScreenViewModelAction {
case about
case sessionVerification
case accountSessionsList
case developerOptions
case notifications
case advancedSettings
case developerOptions
case logout
}
struct SettingsScreenViewState: BindableState {
var bindings: SettingsScreenViewStateBindings
var deviceID: String?
var userID: String
var accountProfileURL: URL?
@@ -45,10 +45,6 @@ struct SettingsScreenViewState: BindableState {
var window: UIWindow?
}
struct SettingsScreenViewStateBindings {
var timelineStyle: TimelineStyle
}
enum SettingsScreenViewAction {
case close
case accountProfile
@@ -56,11 +52,11 @@ enum SettingsScreenViewAction {
case reportBug
case about
case sessionVerification
case logout
case changedTimelineStyle
case accountSessionsList
case developerOptions
case notifications
case developerOptions
case advancedSettings
case logout
/// Updates the window used for the OIDC account URL anchor.
case updateWindow(UIWindow)