mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Remove dead code.
This commit is contained in:
-6
@@ -35,12 +35,6 @@ interface LockScreenService {
|
|||||||
fun isPinSetup(): Flow<Boolean>
|
fun isPinSetup(): Flow<Boolean>
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.
|
* Makes sure the secure flag is set on the activity if the pin is setup.
|
||||||
* @param activity the activity to set the flag on.
|
* @param activity the activity to set the flag on.
|
||||||
|
|||||||
Reference in New Issue
Block a user