mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
Fixed draft navigation issue
This commit is contained in:
parent
cdace17600
commit
435b1ab726
@ -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