forked from shadowfacts/Tusker
Fix reblog error toast title
This commit is contained in:
parent
ad0a9ecafe
commit
5471d810c8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue