From ba6a907c47a65af2eaf7ae610b10b706167c304f Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkk669@users.noreply.github.com> Date: Sun, 27 Sep 2020 21:42:17 +0900 Subject: [PATCH] Show instructions only if the app is inactive --- DNSecure/ContentView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DNSecure/ContentView.swift b/DNSecure/ContentView.swift index 915ac0a..ba31911 100644 --- a/DNSecure/ContentView.swift +++ b/DNSecure/ContentView.swift @@ -186,7 +186,9 @@ extension ContentView: View { ) } - HowToActivateView(isSheet: false) + if !self.isEnabled { + HowToActivateView(isSheet: false) + } } } }