Fix reblog error toast title

This commit is contained in:
Shadowfacts 2023-03-01 21:09:56 -05:00
parent ad0a9ecafe
commit 5471d810c8
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class ReblogService {
status.favourited = oldValue status.favourited = oldValue
mastodonController.persistentContainer.statusSubject.send(status.id) mastodonController.persistentContainer.statusSubject.send(status.id)
let title = oldValue ? "Error Unfavoriting" : "Error Favoriting" let title = oldValue ? "Error Unreblogging" : "Error Reblogging"
let config = ToastConfiguration(from: error, with: title, in: presenter) { toast in let config = ToastConfiguration(from: error, with: title, in: presenter) { toast in
toast.dismissToast(animated: true) toast.dismissToast(animated: true)
await self.toggleReblog() await self.toggleReblog()