mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
This commit is contained in:
parent
e3d5f0c9cf
commit
349fa426ea
@ -100,6 +100,9 @@ const FloatingActionButton = (props: ActionButtonProps) => {
|
|||||||
onStateChange={onMenuToggled}
|
onStateChange={onMenuToggled}
|
||||||
actions={actions}
|
actions={actions}
|
||||||
onPress={props.mainButton?.onPress ?? defaultOnPress}
|
onPress={props.mainButton?.onPress ?? defaultOnPress}
|
||||||
|
// The long press delay is too short by default (and we don't use the long press event). See https://github.com/laurent22/joplin/issues/11183.
|
||||||
|
// Increase to a large value:
|
||||||
|
delayLongPress={10_000}
|
||||||
visible={true}
|
visible={true}
|
||||||
/>;
|
/>;
|
||||||
const mainMenu = isWeb ? (
|
const mainMenu = isWeb ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user