diff --git a/package.json b/package.json index 797fe2c6..42c4ade9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "start": "react-native start", "android": "react-native run-android", "iphone": "react-native run-ios --simulator 'iPhone 14 Pro'", - "ipad": "react-native run-ios --simulator 'iPad Pro (11-inch) (3rd generation)'", + "ipad": "react-native run-ios --simulator 'iPad Pro (11-inch) (4th generation)'", "app:build": "bundle exec fastlane", "clean": "react-native-clean-project", "postinstall": "patch-package" diff --git a/src/screens/Compose/DraftsList/Root.tsx b/src/screens/Compose/DraftsList/Root.tsx index 23aa0831..7b3e870f 100644 --- a/src/screens/Compose/DraftsList/Root.tsx +++ b/src/screens/Compose/DraftsList/Root.tsx @@ -159,22 +159,23 @@ const ComposeDraftsListRoot: React.FC = ({ timestamp }) => { data={instanceDrafts} renderItem={renderItem} renderHiddenItem={({ item }) => ( - dispatch(removeInstanceDraft(item.timestamp))} children={ - dispatch(removeInstanceDraft(item.timestamp))} children={ = ({ timestamp }) => { )} disableRightSwipe={true} rightOpenValue={-actionWidth} - // previewRowKey={ - // instanceDrafts?.length - // ? instanceDrafts[0].timestamp.toString() - // : undefined - // } - // previewDuration={350} previewOpenValue={-actionWidth / 2} ItemSeparatorComponent={ComponentSeparator} keyExtractor={item => item.timestamp.toString()}