Browse Source

Fix incorrect log message, s/favourite/bookmark/ (#3172)

pull/3174/head
Nik Clayton 3 years ago committed by GitHub
parent
commit
7d444d1f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/TimelineViewModel.kt
  2. 2
      app/src/main/java/com/keylesspalace/tusky/components/viewthread/ViewThreadViewModel.kt

2
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)
}
}
}

2
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)
}
}
}

Loading…
Cancel
Save