From 7d444d1f8ccf38da0c96f090293c934e1347d8dc Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Fri, 13 Jan 2023 20:03:47 +0100 Subject: [PATCH] Fix incorrect log message, s/favourite/bookmark/ (#3172) --- .../tusky/components/timeline/viewmodel/TimelineViewModel.kt | 2 +- .../tusky/components/viewthread/ViewThreadViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt b/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt index ea2b687f..0b970481 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt @@ -129,7 +129,7 @@ abstract class TimelineViewModel( timelineCases.bookmark(status.actionableId, bookmark).await() } catch (t: Exception) { ifExpected(t) { - Log.d(TAG, "Failed to favourite status " + status.actionableId, t) + Log.d(TAG, "Failed to bookmark status " + status.actionableId, t) } } } diff --git a/app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadViewModel.kt b/app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadViewModel.kt index bebda313..486eac66 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadViewModel.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadViewModel.kt @@ -210,7 +210,7 @@ class ViewThreadViewModel @Inject constructor( timelineCases.bookmark(status.actionableId, bookmark).await() } catch (t: Exception) { ifExpected(t) { - Log.d(TAG, "Failed to favourite status " + status.actionableId, t) + Log.d(TAG, "Failed to bookmark status " + status.actionableId, t) } } }