1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

iOS: Disable long press menu since it is already built-in

This commit is contained in:
Laurent Cozic 2020-10-15 12:45:01 +01:00
parent 7359dd61d1
commit bcedf6c7f0

View File

@ -71,7 +71,7 @@ export default class NoteBodyViewer extends Component {
resources: this.props.noteResources,
codeTheme: theme.codeThemeCss,
postMessageSyntax: 'window.joplinPostMessage_',
enableLongPress: shim.isReactNative(),
enableLongPress: shim.mobilePlatform() === 'android', // On iOS, there's already a built-on open/share menu
longPressDelay: 500, // TODO use system value
};