From 7ed960839e86306ae62d9bda0c4369c61602fcf9 Mon Sep 17 00:00:00 2001 From: Ryan ZHAO Date: Tue, 18 Feb 2020 15:31:20 +1100 Subject: [PATCH] fix input invisible after creating a closed group --- Signal/src/Loki/View Controllers/NewClosedGroupVC.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/Loki/View Controllers/NewClosedGroupVC.swift b/Signal/src/Loki/View Controllers/NewClosedGroupVC.swift index 661dedf63..1ea538597 100644 --- a/Signal/src/Loki/View Controllers/NewClosedGroupVC.swift +++ b/Signal/src/Loki/View Controllers/NewClosedGroupVC.swift @@ -180,15 +180,15 @@ final class NewClosedGroupVC : UIViewController, UITableViewDataSource, UITableV DispatchQueue.main.async { SSKEnvironment.shared.messageSender.send(message, success: { DispatchQueue.main.async { - SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false) self?.presentingViewController?.dismiss(animated: true, completion: nil) + SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false) } }, failure: { error in let message = TSErrorMessage(timestamp: NSDate.ows_millisecondTimeStamp(), in: thread, failedMessageType: .groupCreationFailed) message.save() DispatchQueue.main.async { - SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false) self?.presentingViewController?.dismiss(animated: true, completion: nil) + SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false) } }) }