mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-27 17:40:38 +00:00
Cleanup
This commit is contained in:
parent
7ce3446030
commit
89db71c114
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue