This commit is contained in:
Shadowfacts 2025-02-06 10:18:43 -05:00
parent bf9ec17513
commit f102ebbfc8
2 changed files with 0 additions and 2 deletions

View File

@ -128,7 +128,6 @@ struct AddReactionView: View {
} }
private func doAddReaction(_ reaction: Reaction) async { private func doAddReaction(_ reaction: Reaction) async {
try! await Task.sleep(nanoseconds: NSEC_PER_SEC)
do { do {
try await addReaction(reaction) try await addReaction(reaction)
dismiss() dismiss()

View File

@ -58,7 +58,6 @@ class StatusAttachmentsGalleryDataSource: GalleryDataSource {
) )
} else { } else {
return LoadingGalleryContentViewController(caption: attachment.description) { return LoadingGalleryContentViewController(caption: attachment.description) {
try! await Task.sleep(nanoseconds: NSEC_PER_SEC)
let (data, image) = await ImageCache.attachments.get(attachment.url, loadOriginal: true) let (data, image) = await ImageCache.attachments.get(attachment.url, loadOriginal: true)
if let image { if let image {
let gifController: GIFController? = let gifController: GIFController? =