diff --git a/Outpost/Features/Account/SettingsView.swift b/Outpost/Features/Account/SettingsView.swift index 026c717..badd289 100644 --- a/Outpost/Features/Account/SettingsView.swift +++ b/Outpost/Features/Account/SettingsView.swift @@ -279,6 +279,13 @@ struct SettingsView: View { isOn: session.userPreferences?.separateEditing ?? false, onChange: { newValue in Task { await savePreference { $0.separateEditing = newValue } } } ) + Divider() + preferenceToggleRow( + "Remember previous location", + description: "Automatically return to the document you were last viewing when the app is re-opened.", + isOn: session.userPreferences?.rememberLastPath ?? false, + onChange: { newValue in Task { await savePreference { $0.rememberLastPath = newValue } } } + ) } if let preferencesErrorMessage {