diff options
| author | Fuwn <[email protected]> | 2025-02-22 07:07:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-22 07:07:57 -0800 |
| commit | cafece91bae45194d64f4932bb04be018b82d21b (patch) | |
| tree | 02d727a13fe530550e3b29b28b7ee9980262eef2 /Sora/Views/Settings/Section/SettingsDetailsView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-cafece91bae45194d64f4932bb04be018b82d21b.tar.xz sora-testing-cafece91bae45194d64f4932bb04be018b82d21b.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsDetailsView.swift')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsDetailsView.swift | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Sora/Views/Settings/Section/SettingsDetailsView.swift b/Sora/Views/Settings/Section/SettingsDetailsView.swift new file mode 100644 index 0000000..c51ab76 --- /dev/null +++ b/Sora/Views/Settings/Section/SettingsDetailsView.swift @@ -0,0 +1,15 @@ +import SwiftUI + +struct SettingsDetailsView: View { + @EnvironmentObject var settings: Settings + + var body: some View { + Picker("Detail View Type", selection: $settings.detailViewType) { + ForEach(BooruPostFileType.allCases, id: \.self) { type in + Text(type.rawValue.capitalized).tag(type) + } + } + + Toggle("Enable \"Share Image\" Shortcut", isOn: $settings.enableShareShortcut) + } +} |