Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update android-autofill.tsx

Leendert de Borst0240f008ce82
diff --git a/apps/mobile-app/app/(tabs)/settings/android-autofill.tsx b/apps/mobile-app/app/(tabs)/settings/android-autofill.tsx
index b4ecb6def..2cba012c6 100644
--- a/apps/mobile-app/app/(tabs)/settings/android-autofill.tsx
+++ b/apps/mobile-app/app/(tabs)/settings/android-autofill.tsx
@@ -1,7 +1,7 @@
import { router } from 'expo-router';
+import { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { StyleSheet, View, TouchableOpacity, Linking, Switch } from 'react-native';
-import { useState, useEffect } from 'react';
import { useColors } from '@/hooks/useColorScheme';
@@ -25,7 +25,10 @@ export default function AndroidAutofillScreen() : React.ReactNode {
* Load the show search text setting on mount.
*/
useEffect(() => {
- const loadSettings = async () => {
+ /**
+ * Load the show search text setting.
+ */
+ const loadSettings = async () : Promise<void> => {
try {
const value = await NativeVaultManager.getAutofillShowSearchText();
setShowSearchText(value);