mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 21:42:03 +01:00
Cleanup
This commit is contained in:
parent
7ce3446030
commit
89db71c114
@ -308,7 +308,6 @@ public class StatusEditorViewModel: ObservableObject {
|
||||
func addDescription(container: ImageContainer, description: String) async {
|
||||
guard let client, let attachment = container.mediaAttachement else { return }
|
||||
if let index = indexOf(container: container) {
|
||||
let originalContainer = mediasImages[index]
|
||||
do {
|
||||
let media: MediaAttachement = try await client.put(endpoint: Media.media(id: attachment.id,
|
||||
description: description))
|
||||
|
Loading…
Reference in New Issue
Block a user