mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
Fix chat message race condition on notification tap
This commit is contained in:
1 parent
0711080112
commit
45499edc9a
5 files changed
+27
-17
No files matched your search
@@ -82,11 +82,6 @@ export function ContentTile({ pack, isLocked, isNew = false, progress, onPress }
|
||||
|
||||
{/* Content */}
|
||||
<View style={styles.content}>
|
||||
{pack.category?.name && (
|
||||
<Text style={styles.categoryText} numberOfLines={1}>
|
||||
{pack.category.name}
|
||||
</Text>
|
||||
)}
|
||||
<Text style={styles.titleText} numberOfLines={2}>
|
||||
{pack.name}
|
||||
</Text>
|
||||
@@ -173,13 +168,6 @@ const styles = StyleSheet.create({
|
||||
justifyContent: 'center',
|
||||
marginTop: spacing.sm,
|
||||
},
|
||||
categoryText: {
|
||||
...typography.caption2,
|
||||
color: 'rgba(255, 255, 255, 0.7)',
|
||||
textTransform: 'uppercase',
|
||||
letterSpacing: 1,
|
||||
marginBottom: 2,
|
||||
},
|
||||
titleText: {
|
||||
...typography.headline,
|
||||
color: colors.text,
|
||||
|
||||
@@ -20,7 +20,7 @@ import { SharePreviewModal } from "../share";
|
||||
const ACTION_BUTTON_SIZE = 72;
|
||||
const ACTION_BUTTON_OVERHANG_PERCENT = 0.5; // 50% of button hangs below the card
|
||||
const actionButtonOffset = ACTION_BUTTON_SIZE * ACTION_BUTTON_OVERHANG_PERCENT;
|
||||
const actionButtonBackground = colors.muted;
|
||||
const actionButtonBackground = '#3a3a42';
|
||||
|
||||
// Haptics helper - not supported on web
|
||||
const triggerHaptic = async (style: 'light' | 'medium' | 'heavy' = 'medium') => {
|
||||
|
||||
Reference in new issue
Block a user