mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 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
@@ -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