mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 09:07:28 +03:00
Fixed draft navigation issue
This commit is contained in:
parent
22ca95b5d4
commit
aef55cc217
@ -56,7 +56,13 @@ class DraftsScreen extends Component {
|
||||
image={image ? { uri: catchDraftImage(item.body) } : null}
|
||||
username={currentAccount.name}
|
||||
reputation={currentAccount.reputation}
|
||||
handleOnPressItem={() => (isSchedules ? this.setState({ selectedId: item._id }, () => this.ActionSheet.show()) : editDraft)}
|
||||
handleOnPressItem={
|
||||
() => (
|
||||
isSchedules
|
||||
? this.setState({ selectedId: item._id }, () => this.ActionSheet.show())
|
||||
: editDraft(item._id)
|
||||
)
|
||||
}
|
||||
handleOnRemoveItem={isSchedules ? removeSchedule : removeDraft}
|
||||
id={item._id}
|
||||
key={item._id}
|
||||
|
Loading…
Reference in New Issue
Block a user