Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix topic dialog not opening

ammarahm-edfe58df170091
diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js
index 644ebae4e..96ad5fe2a 100644
--- a/apps/mobile/src/components/DialogManager/index.js
+++ b/apps/mobile/src/components/DialogManager/index.js
@@ -120,6 +120,7 @@ export class DialogManager extends Component {
};
showAddTopic = (notebook) => {
+ console.log(this.state.item);
if (notebook) {
this.setState({
item: notebook,
@@ -329,8 +330,8 @@ export class DialogManager extends Component {
/>
}
keyboardShouldPersistTaps="always"
- delayActionSheetDraw={true}
- delayActionSheetDrawTime={10}
+ //delayActionSheetDraw={true}
+ //delayActionSheetDrawTime={10}
footerAlwaysVisible={DDS.isTab}
footerHeight={DDS.isTab ? 20 : 10}
footerStyle={
@@ -382,11 +383,7 @@ export class DialogManager extends Component {
<AddTopicDialog
ref={(ref) => (this.addTopicsDialog = ref)}
toEdit={item?.type === 'topic' ? item : null}
- notebookID={
- actionSheetData.extraData
- ? actionSheetData.extraData.notebookID
- : item?.id
- }
+ notebookID={item?.notebookId}
colors={colors}
/>
<AddNotebookDialog