summaryrefslogtreecommitdiff
path: root/Hutch/Views/Home/HomeViewModel.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-19 16:59:16 -0500
committerChristian Cleberg <[email protected]>2026-03-19 16:59:16 -0500
commitb82bbeeea48ad27832a355c2a41408559c411104 (patch)
tree0af45101300c75970471573b09f878a1b3763b38 /Hutch/Views/Home/HomeViewModel.swift
parent9065ef6e92245a44390e336cc1ae515ae706cdd7 (diff)
downloadhutch-b82bbeeea48ad27832a355c2a41408559c411104.tar.gz
hutch-b82bbeeea48ad27832a355c2a41408559c411104.tar.bz2
hutch-b82bbeeea48ad27832a355c2a41408559c411104.zip
v2.1: bundled polish and fixes
Diffstat (limited to 'Hutch/Views/Home/HomeViewModel.swift')
-rw-r--r--Hutch/Views/Home/HomeViewModel.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hutch/Views/Home/HomeViewModel.swift b/Hutch/Views/Home/HomeViewModel.swift
index 31dec1b..4f3a514 100644
--- a/Hutch/Views/Home/HomeViewModel.swift
+++ b/Hutch/Views/Home/HomeViewModel.swift
@@ -285,8 +285,8 @@ final class HomeViewModel {
case .failure(let error):
self.recentBuilds = []
self.failedBuilds = []
- self.failedBuildsError = error.localizedDescription
- self.recentBuildsError = error.localizedDescription
+ self.failedBuildsError = error.userFacingMessage
+ self.recentBuildsError = error.userFacingMessage
}
isLoadingFailedBuilds = false
isLoadingRecentBuilds = false
@@ -299,7 +299,7 @@ final class HomeViewModel {
self.assignedTicketsError = nil
case .failure(let error):
self.assignedTickets = []
- self.assignedTicketsError = error.localizedDescription
+ self.assignedTicketsError = error.userFacingMessage
}
isLoadingAssignedTickets = false