From 7cea6f0f8f8c21806bdab8e00db2051fb3f4fac4 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 23 Oct 2025 16:52:24 +0200 Subject: [PATCH] Remove dead code. --- .../android/features/lockscreen/api/LockScreenService.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/features/lockscreen/api/src/main/kotlin/io/element/android/features/lockscreen/api/LockScreenService.kt b/features/lockscreen/api/src/main/kotlin/io/element/android/features/lockscreen/api/LockScreenService.kt index 4919442e28..987bd75166 100644 --- a/features/lockscreen/api/src/main/kotlin/io/element/android/features/lockscreen/api/LockScreenService.kt +++ b/features/lockscreen/api/src/main/kotlin/io/element/android/features/lockscreen/api/LockScreenService.kt @@ -35,12 +35,6 @@ interface LockScreenService { fun isPinSetup(): Flow } -/** - * Check if the app is currently locked. - */ -val LockScreenService.isLocked: Boolean - get() = lockState.value == LockScreenLockState.Locked - /** * Makes sure the secure flag is set on the activity if the pin is setup. * @param activity the activity to set the flag on.