From 5cbc4e5f88f0ec50538610660dce8c67e8242922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Heidekr=C3=BCger?= Date: Fri, 5 Apr 2024 10:29:47 +0200 Subject: [PATCH] Add rawValues for CommentStyle enum --- Sources/Secretive/Views/SettingsView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/Secretive/Views/SettingsView.swift b/Sources/Secretive/Views/SettingsView.swift index b0bc065..5f6f9f7 100644 --- a/Sources/Secretive/Views/SettingsView.swift +++ b/Sources/Secretive/Views/SettingsView.swift @@ -9,7 +9,9 @@ import SwiftUI enum CommentStyle: String, CaseIterable, Identifiable { - case keyAndHost, none + case keyAndHost = "keyAndHost" + case none = "none" + var id: Self { self } }