summaryrefslogtreecommitdiff
path: root/Hutch/Views/Settings
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-18 20:03:39 -0500
committerChristian Cleberg <[email protected]>2026-03-18 20:03:39 -0500
commit090c829a5f800266da7f4ff0e59fb389f0dbfdd8 (patch)
tree8861ac737cf90f38a740f9f7ce913f192585af2a /Hutch/Views/Settings
parent01ce5ee73feb8bda35749a186c0efcd3d6d7a060 (diff)
downloadhutch-090c829a5f800266da7f4ff0e59fb389f0dbfdd8.tar.gz
hutch-090c829a5f800266da7f4ff0e59fb389f0dbfdd8.tar.bz2
hutch-090c829a5f800266da7f4ff0e59fb389f0dbfdd8.zip
show tracker creation errors inside the creation sheet
Diffstat (limited to 'Hutch/Views/Settings')
-rw-r--r--Hutch/Views/Settings/SettingsViewModel.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Hutch/Views/Settings/SettingsViewModel.swift b/Hutch/Views/Settings/SettingsViewModel.swift
index 204afbf..1cc5426 100644
--- a/Hutch/Views/Settings/SettingsViewModel.swift
+++ b/Hutch/Views/Settings/SettingsViewModel.swift
@@ -24,7 +24,7 @@ private struct CreateSSHKeyResponse: Decodable, Sendable {
}
private struct DeleteSSHKeyResponse: Decodable, Sendable {
- let deleteSSHKey: DeleteResult
+ let deleteSSHKey: DeleteResult?
}
private struct CreatePGPKeyResponse: Decodable, Sendable {
@@ -32,7 +32,7 @@ private struct CreatePGPKeyResponse: Decodable, Sendable {
}
private struct DeletePGPKeyResponse: Decodable, Sendable {
- let deletePGPKey: DeleteResult
+ let deletePGPKey: DeleteResult?
}
private struct DeleteResult: Decodable, Sendable {