chore: remove unnecessary conditions
This commit is contained in:
@@ -186,10 +186,6 @@ const PasscodeLock = ({ application, viewControllerManager }: Props) => {
|
||||
|
||||
const autolockService = application.getAutolockService()
|
||||
|
||||
if (!autolockService && !isNativeMobileWeb) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<PreferencesGroup>
|
||||
@@ -246,7 +242,7 @@ const PasscodeLock = ({ application, viewControllerManager }: Props) => {
|
||||
</PreferencesSegment>
|
||||
</PreferencesGroup>
|
||||
|
||||
{hasPasscode && !isNativeMobileWeb && autolockService && (
|
||||
{hasPasscode && autolockService && (
|
||||
<>
|
||||
<div className="min-h-3" />
|
||||
<PreferencesGroup>
|
||||
|
||||
Reference in New Issue
Block a user