Skip to content

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

Style refactor (#1157)

Leendert de Borst7314dc3d1d57
diff --git a/apps/mobile-app/app/(tabs)/settings/clipboard-clear.tsx b/apps/mobile-app/app/(tabs)/settings/clipboard-clear.tsx
index 75d37190e..6134d48f2 100644
--- a/apps/mobile-app/app/(tabs)/settings/clipboard-clear.tsx
+++ b/apps/mobile-app/app/(tabs)/settings/clipboard-clear.tsx
@@ -110,9 +110,6 @@ export default function ClipboardClearScreen(): React.ReactNode {
justifyContent: 'center',
paddingVertical: 12,
},
- helpButtonDisabled: {
- backgroundColor: colors.textMuted,
- },
helpButtonText: {
color: colors.background,
fontSize: 14,
diff --git a/apps/mobile-app/components/credentials/CredentialCard.tsx b/apps/mobile-app/components/credentials/CredentialCard.tsx
index 61ac4c43c..3312b1390 100644
--- a/apps/mobile-app/components/credentials/CredentialCard.tsx
+++ b/apps/mobile-app/components/credentials/CredentialCard.tsx
@@ -4,13 +4,13 @@ import { StyleSheet, View, Text, TouchableOpacity, Keyboard, Platform, Alert } f
import ContextMenu, { OnPressMenuItemEvent } from 'react-native-context-menu-view';
import Toast from 'react-native-toast-message';
+import { copyToClipboardWithExpiration } from '@/utils/ClipboardUtility';
import type { Credential } from '@/utils/dist/shared/models/vault';
import { useColors } from '@/hooks/useColorScheme';
import { CredentialIcon } from '@/components/credentials/CredentialIcon';
import { useAuth } from '@/context/AuthContext';
-import { copyToClipboardWithExpiration } from '@/utils/ClipboardUtility';
type CredentialCardProps = {
credential: Credential;
diff --git a/apps/mobile-app/components/credentials/details/TotpSection.tsx b/apps/mobile-app/components/credentials/details/TotpSection.tsx
index af15d5884..df8d5f2a3 100644
--- a/apps/mobile-app/components/credentials/details/TotpSection.tsx
+++ b/apps/mobile-app/components/credentials/details/TotpSection.tsx
@@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next';
import { View, StyleSheet, TouchableOpacity, Platform } from 'react-native';
import Toast from 'react-native-toast-message';
+import { copyToClipboardWithExpiration } from '@/utils/ClipboardUtility';
import type { Credential, TotpCode } from '@/utils/dist/shared/models/vault';
import { useColors } from '@/hooks/useColorScheme';
@@ -12,7 +13,6 @@ import { ThemedText } from '@/components/themed/ThemedText';
import { ThemedView } from '@/components/themed/ThemedView';
import { useAuth } from '@/context/AuthContext';
import { useDb } from '@/context/DbContext';
-import { copyToClipboardWithExpiration } from '@/utils/ClipboardUtility';
type TotpSectionProps = {
credential: Credential;
diff --git a/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx b/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx
index 80f32a37e..3546b46db 100644
--- a/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx
+++ b/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx
@@ -5,6 +5,7 @@ import { View, Text, TouchableOpacity, StyleSheet, Platform, Animated, Easing }
import Toast from 'react-native-toast-message';
import { copyToClipboardWithExpiration } from '@/utils/ClipboardUtility';
+
import { useColors } from '@/hooks/useColorScheme';
import { useAuth } from '@/context/AuthContext';