commit 3b13aae2437b3df6f076ee6bafd9aa83f9f964d1
parent 12ad30ffd804e86aa4f6b12726be35d4efc7a8a1
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date:   Wed, 17 Jul 2024 14:22:18 +0200

fix: temporary removal of sif screen

Diffstat:
Mapp/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt | 4++--
Mapp/src/main/kotlin/me/rhunk/snapenhance/ui/setup/SetupActivity.kt | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt b/app/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt @@ -216,9 +216,9 @@ class RemoteSideContext( requirements = requirements or Requirements.MAPPINGS } - if (sharedPreferences.getString("sif", null) == null) { + /*if (sharedPreferences.getString("sif", null) == null) { requirements = requirements or Requirements.SIF - } + }*/ if (requirements == 0) return false diff --git a/app/src/main/kotlin/me/rhunk/snapenhance/ui/setup/SetupActivity.kt b/app/src/main/kotlin/me/rhunk/snapenhance/ui/setup/SetupActivity.kt @@ -66,9 +66,9 @@ class SetupActivity : ComponentActivity() { if (isFirstRun || hasRequirement(Requirements.MAPPINGS)) { add(MappingsScreen().apply { route = "mappings" }) } - if (isFirstRun || hasRequirement(Requirements.SIF)) { + /*if (isFirstRun || hasRequirement(Requirements.SIF)) { add(SecurityScreen().apply { route = "security" }) - } + }*/ } // If there are no required screens, we can just finish the activity