commit 8254301c51eb607b883a8c591d0e726a50170593 parent 61c834f66ff079d8036962855a39a90f729856e9 Author: Johan Lindskogen <johan.lindskogen@gmail.com> Date: Mon, 2 Apr 2018 21:44:32 +0200 Filter by displayed value Diffstat:
M | src/usecase/buffers/ui/Buffer.tsx | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/usecase/buffers/ui/Buffer.tsx b/src/usecase/buffers/ui/Buffer.tsx @@ -35,9 +35,7 @@ class Buffer extends React.PureComponent<Props> { const { lines, onLongPress, parseArgs } = this.props; return ( <FlatList - data={lines.filter( - line => !_.includes(line.tags_array, "irc_smart_filter") - )} + data={lines.filter(line => line.displayed !== 0)} inverted keyboardDismissMode="interactive" keyExtractor={keyExtractor}