Skip to content

Commit

Permalink
fix: Allow action sheets to open in front of modals (#5664)
Browse files Browse the repository at this point in the history
* fix: Allow action sheets to open in front of modals

* fix delete button
  • Loading branch information
olerichter00 authored and Gon4ar5 committed Oct 27, 2021
1 parent 30db493 commit 9b72471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export const MyCollectionArtworkFormModal: React.FC<MyCollectionArtworkFormModal
options: ["Discard", "Keep editing"],
destructiveButtonIndex: 0,
cancelButtonIndex: 1,
useModal: true,
},
(buttonIndex) => {
if (buttonIndex === 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const MyCollectionArtworkFormMain: React.FC<StackScreenProps<ArtworkFormM
options: ["Delete", "Cancel"],
destructiveButtonIndex: 0,
cancelButtonIndex: 1,
useModal: true,
},
(buttonIndex) => {
if (buttonIndex === 0) {
Expand Down

0 comments on commit 9b72471

Please sign in to comment.