Oops
This commit is contained in:
parent
bf9ec17513
commit
f102ebbfc8
@ -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()
|
||||||
|
@ -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? =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user