Update guest v2 home and tasks experience
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Button } from '@tamagui/button';
|
||||
import { Flower } from 'lucide-react';
|
||||
import { Camera } from 'lucide-react';
|
||||
import { useGuestThemeVariant } from '../lib/guestTheme';
|
||||
|
||||
type FloatingActionButtonProps = {
|
||||
@@ -25,8 +25,11 @@ export default function FloatingActionButton({ onPress, onLongPress }: FloatingA
|
||||
longPressTriggered.current = false;
|
||||
}}
|
||||
onLongPress={() => {
|
||||
if (!onLongPress) {
|
||||
return;
|
||||
}
|
||||
longPressTriggered.current = true;
|
||||
onLongPress?.();
|
||||
onLongPress();
|
||||
}}
|
||||
position="fixed"
|
||||
bottom={20}
|
||||
@@ -49,7 +52,7 @@ export default function FloatingActionButton({ onPress, onLongPress }: FloatingA
|
||||
: '0 18px 32px rgba(15, 23, 42, 0.2), 0 0 0 8px rgba(255, 255, 255, 0.7)',
|
||||
}}
|
||||
>
|
||||
<Flower size={26} color="white" />
|
||||
<Camera size={26} color="white" />
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user