Use FlatList for tags

This commit is contained in:
Mo Bitar
2017-09-28 09:06:53 -05:00
parent 50d0c6648c
commit f94c7279f6
2 changed files with 17 additions and 6 deletions

View File

@@ -429,8 +429,14 @@ export default class App {
}
reload() {
this.count = 0;
Icons.get().loadIcons();
this.startApp();
setInterval(() => {
this.count++;
if(this.count < 10) {
this.startApp();
}
}, 200);
}
}

View File

@@ -247,11 +247,7 @@ export default class Notes extends Abstract {
this.presentFilterScreen();
} else {
// Although RNN is supposed to open this automatically, it doesn't sometimes. So this is to force it.
// this.props.navigator.toggleDrawer({
// side: 'left', // the side of the drawer since you can have two, 'left' / 'right'
// animated: true, // does the toggle have transition animation or does it happen immediately (optional)
// // to: 'open' // optional, 'open' = open the drawer, 'closed' = close it, missing = the opposite of current state
// });
this.openDrawer();
}
} else if(event.id == "settings") {
this.presentSettingsScreen();
@@ -259,6 +255,15 @@ export default class Notes extends Abstract {
}
}
openDrawer() {
console.log("Opening drawer");
this.props.navigator.toggleDrawer({
side: 'left', // the side of the drawer since you can have two, 'left' / 'right'
animated: false, // does the toggle have transition animation or does it happen immediately (optional)
to: 'open' // optional, 'open' = open the drawer, 'closed' = close it, missing = the opposite of current state
});
}
presentNewComposer() {
this.props.navigator.push({
screen: 'sn.Compose',