feat: native listed integration (#846)

* feat(wip): native listed integration

* feat(wip): wip

* feat: simplified actions menu structure

* feat: open settings alert upon succesful creation

* fix: handle remove menu row api

* chore(deps): snjs
This commit is contained in:
Mo
2022-02-03 18:14:28 -06:00
committed by GitHub
parent 4200baadba
commit 6970a375b7
9 changed files with 294 additions and 415 deletions

View File

@@ -252,8 +252,7 @@ export class HistoryMenu extends PureComponent<Props, HistoryState> {
return (
<MenuRow
key={index}
action={this.openSessionRevision}
actionArgs={[revision]}
action={() => this.openSessionRevision(revision)}
label={revision.previewTitle()}
>
<div
@@ -298,8 +297,7 @@ export class HistoryMenu extends PureComponent<Props, HistoryState> {
return (
<MenuRow
key={index}
action={this.openRemoteRevision}
actionArgs={[revision]}
action={() => this.openRemoteRevision(revision)}
label={this.previewRemoteHistoryTitle(revision)}
/>
);