From b82bbeeea48ad27832a355c2a41408559c411104 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 19 Mar 2026 16:59:16 -0500 Subject: v2.1: bundled polish and fixes --- Hutch/Views/Pastes/PasteListViewModel.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Hutch/Views/Pastes/PasteListViewModel.swift') diff --git a/Hutch/Views/Pastes/PasteListViewModel.swift b/Hutch/Views/Pastes/PasteListViewModel.swift index ee7d47a..cc2180d 100644 --- a/Hutch/Views/Pastes/PasteListViewModel.swift +++ b/Hutch/Views/Pastes/PasteListViewModel.swift @@ -41,7 +41,7 @@ final class PasteListViewModel { hasMore = page.cursor != nil } catch { if pastes.isEmpty { - self.error = error.localizedDescription + self.error = error.userFacingMessage } } @@ -66,7 +66,7 @@ final class PasteListViewModel { cursor = page.cursor hasMore = page.cursor != nil } catch { - self.error = error.localizedDescription + self.error = error.userFacingMessage } } @@ -90,7 +90,7 @@ final class PasteListViewModel { upsertPaste(paste) return paste } catch { - self.error = error.localizedDescription + self.error = error.userFacingMessage return nil } } -- cgit v1.2.3