From 9e1c21e8662b4e3f05d41012f05f3f7a568b6a0b Mon Sep 17 00:00:00 2001 From: Lamparter Date: Thu, 18 Jul 2024 18:33:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Remove=20safe=20call=20?= =?UTF-8?q?on=20NavController?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/dev/riverside/credit/Biometrics.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/dev/riverside/credit/Biometrics.kt b/app/src/main/java/dev/riverside/credit/Biometrics.kt index 11b1c9b..caef0c9 100644 --- a/app/src/main/java/dev/riverside/credit/Biometrics.kt +++ b/app/src/main/java/dev/riverside/credit/Biometrics.kt @@ -56,8 +56,8 @@ class Biometrics : Fragment() { override fun onAuthenticationSucceeded(result: BiometricPrompt.AuthenticationResult) { super.onAuthenticationSucceeded(result) - val navController = view?.findNavController() - navController?.navigate(R.id.action_biometrics_to_homepage) + val navController = view.findNavController() + navController.navigate(R.id.action_biometrics_to_homepage) } override fun onAuthenticationFailed() {