summaryrefslogtreecommitdiff
path: root/Hutch/Views/Repositories/RepositoryListView.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-13 20:07:53 -0500
committerChristian Cleberg <[email protected]>2026-04-13 20:07:53 -0500
commit312e535f400f31714b3750de5222a1f6a8e5bcda (patch)
treedfa0d9dfcfd08187befa79cf5d8afc4da9fef860 /Hutch/Views/Repositories/RepositoryListView.swift
parentfe1ccc69661603d419a642a450e4ac9e1258adb0 (diff)
downloadhutch-312e535f400f31714b3750de5222a1f6a8e5bcda.tar.gz
hutch-312e535f400f31714b3750de5222a1f6a8e5bcda.tar.bz2
hutch-312e535f400f31714b3750de5222a1f6a8e5bcda.zip
fix: sonarqube code smell fixesv3.1.4
Diffstat (limited to 'Hutch/Views/Repositories/RepositoryListView.swift')
-rw-r--r--Hutch/Views/Repositories/RepositoryListView.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hutch/Views/Repositories/RepositoryListView.swift b/Hutch/Views/Repositories/RepositoryListView.swift
index 08ebb5c..04a7084 100644
--- a/Hutch/Views/Repositories/RepositoryListView.swift
+++ b/Hutch/Views/Repositories/RepositoryListView.swift
@@ -214,7 +214,7 @@ private struct CreateRepositorySheet: View {
@State private var name = ""
@State private var description = ""
@State private var cloneURL = ""
- @State private var visibility: Visibility = .public
+ @State private var visibility: Visibility = .publicVisibility
@State private var service: RepositoryCreationService = .git
var body: some View {
@@ -235,9 +235,9 @@ private struct CreateRepositorySheet: View {
.lineLimit(2...4)
.themedRow()
Picker("Visibility", selection: $visibility) {
- Text("Public").tag(Visibility.public)
+ Text("Public").tag(Visibility.publicVisibility)
Text("Unlisted").tag(Visibility.unlisted)
- Text("Private").tag(Visibility.private)
+ Text("Private").tag(Visibility.privateVisibility)
}
.themedRow()
}