mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Add E2EE unit tests and improve mobile UI
- Add comprehensive tests for encryption/decryption logic - Improve error messages for encrypted chat - Update profile danger zone UI with blur effect - Refactor typing indicator hook
This commit is contained in:
1 parent
0ffa7fa952
commit
365852c130
16 files changed
+591
-218
No files matched your search
@@ -254,22 +254,17 @@ export function ProfileScreen() {
|
||||
{__DEV__ && (
|
||||
<SettingsSection title="Debug" delay={550}>
|
||||
<MenuItem
|
||||
icon="refresh"
|
||||
icon="refresh-outline"
|
||||
label="Reset Swipe Tutorial"
|
||||
description="Show the tutorial again"
|
||||
onPress={async () => {
|
||||
await resetSwipeTutorial();
|
||||
Alert.alert("Success", "Swipe tutorial has been reset.");
|
||||
}}
|
||||
variant="danger"
|
||||
// Using danger just for yellow/warning color simulation via props? No, MenuItem uses error color for danger.
|
||||
// I'll stick to default and standard styling or custom if needed.
|
||||
// The original used warning color (yellow).
|
||||
// I will use default for now.
|
||||
/>
|
||||
<View style={styles.preferencesDivider} />
|
||||
<MenuItem
|
||||
icon="heart"
|
||||
icon="heart-outline"
|
||||
label="Reset Matches Tutorial"
|
||||
description="Show the tutorial again"
|
||||
onPress={async () => {
|
||||
@@ -319,7 +314,6 @@ export function ProfileScreen() {
|
||||
]
|
||||
);
|
||||
}}
|
||||
variant="danger"
|
||||
/>
|
||||
</SettingsSection>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user