From ed33663e6d8c85682cc5685d3b1c08aca55bcf7c Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Thu, 7 Dec 2017 16:18:35 -0500 Subject: [PATCH] CR: remove redundant isHidden // FREEBIE --- SignalShareExtension/ShareViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SignalShareExtension/ShareViewController.swift b/SignalShareExtension/ShareViewController.swift index 56d270d49..44617b070 100644 --- a/SignalShareExtension/ShareViewController.swift +++ b/SignalShareExtension/ShareViewController.swift @@ -23,7 +23,6 @@ public class ShareViewController: UINavigationController, SAELoadViewDelegate, S // We can't show the conversation picker until the DB is set up. // Normally this will only take a moment, so rather than flickering and then hiding the loading screen // We start as invisible, and only fade it in if it's going to take a while - self.view.isHidden = true self.view.alpha = 0 UIView.animate(withDuration: 0.1, delay: 0.5, options: [.curveEaseInOut], animations: { self.view.alpha = 1 @@ -288,7 +287,7 @@ public class ShareViewController: UINavigationController, SAELoadViewDelegate, S // ensure view is visible. self.view.layer.removeAllAnimations() UIView.animate(withDuration: 0.1, delay: 0, options: [.curveEaseInOut], animations: { - self.view.isHidden = false + self.view.alpha = 1 }, completion: nil)