diff --git a/apps/mobile/app/components/dialogs/applock-password/index.tsx b/apps/mobile/app/components/dialogs/applock-password/index.tsx
index 3c72feec3..bdbac4b05 100644
--- a/apps/mobile/app/components/dialogs/applock-password/index.tsx
+++ b/apps/mobile/app/components/dialogs/applock-password/index.tsx
@@ -46,6 +46,8 @@ import { Toast } from "../../toast";
import { IconButton } from "../../ui/icon-button";
import Input from "../../ui/input";
import Seperator from "../../ui/seperator";
+import { useUserStore } from "../../../stores/use-user-store";
+import BiometicService from "../../../services/biometrics";
export const AppLockPassword = () => {
const { colors } = useThemeColors();
@@ -319,6 +321,15 @@ export const AppLockPassword = () => {
}
clearAppLockVerificationCipher();
SettingsService.setProperty("appLockHasPasswordSecurity", false);
+
+ if (!useUserStore.getState().user) {
+ if (
+ !(await BiometicService.isBiometryAvailable()) ||
+ !SettingsService.getProperty("biometricsAuthEnabled")
+ ) {
+ SettingsService.setProperty("appLockEnabled", false);
+ }
+ }
}
SettingsService.setProperty(
diff --git a/apps/mobile/app/components/list/index.tsx b/apps/mobile/app/components/list/index.tsx
index 37e89fe36..c5e432140 100644
--- a/apps/mobile/app/components/list/index.tsx
+++ b/apps/mobile/app/components/list/index.tsx
@@ -170,13 +170,15 @@ export default function List(props: ListProps) {
keyboardShouldPersistTaps="always"
keyboardDismissMode="interactive"
refreshControl={
-
+ props.isRenderedInActionSheet ? null : (
+
+ )
}
ListEmptyComponent={
props.placeholder ? (
diff --git a/apps/mobile/app/components/list/list-item.wrapper.tsx b/apps/mobile/app/components/list/list-item.wrapper.tsx
index 96536f4e7..4ce3fbc55 100644
--- a/apps/mobile/app/components/list/list-item.wrapper.tsx
+++ b/apps/mobile/app/components/list/list-item.wrapper.tsx
@@ -159,7 +159,7 @@ export function ListItemWrapper(props: ListItemWrapperProps) {
case "note": {
return (
<>
- {groupHeader && previousIndex.current === index ? (
+ {groupHeader && previousIndex.current === index && !isSheet ? (
- {groupHeader && previousIndex.current === index ? (
+ {groupHeader && previousIndex.current === index && !isSheet ? (
- {groupHeader && previousIndex.current === index ? (
+ {groupHeader && previousIndex.current === index && !isSheet ? (
- {groupHeader && previousIndex.current === index ? (
+ {groupHeader && previousIndex.current === index && !isSheet ? (
{
return !!SettingsService.getProperty(
"appLockHasPasswordSecurity"
@@ -912,7 +911,7 @@ export const settingsGroups: SettingSection[] = [
{
id: "app-lock-pin-change",
name: "Change app lock pin",
- description: "Set up a new pin for the app lock",
+ description: "Set up a password or pin for app lock",
hidden: () => {
return !SettingsService.getProperty("appLockHasPasswordSecurity");
},
@@ -923,9 +922,16 @@ export const settingsGroups: SettingSection[] = [
},
{
id: "app-lock-pin-remove",
- name: "Remove app lock pin",
- description:
- "Remove app lock pin, app lock will fallback to using account password to unlock the app",
+ name: `Remove app lock ${
+ SettingsService.getProperty("applockKeyboardType") === "numeric"
+ ? "pin"
+ : "password"
+ }`,
+ description: `Remove app lock ${
+ SettingsService.getProperty("applockKeyboardType") === "numeric"
+ ? "pin"
+ : "password"
+ }, app lock will fallback to using account password to unlock the app`,
hidden: () => {
return !SettingsService.getProperty("appLockHasPasswordSecurity");
},