Skip to content

Commit f5b3618

Browse files
author
Alex Lavrov
committed
Try to fix action sheet on iOS
1 parent bca8cbc commit f5b3618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/NoteListItem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class NoteListItem extends Component {
6868
}
6969

7070
showActionSheet = options => {
71-
ActionSheetIOS.showActionSheetWithOptions(options, this.onPressMenu)
71+
ActionSheetIOS.showActionSheetWithOptions({ options, destructiveButtonIndex: 1 }, this.onPressMenu)
7272
}
7373

7474
showPopupMenu = options => {

0 commit comments

Comments
 (0)