浏览代码

Stops showing date marker if first item

Changes date marker to use description
main
Eric Amodio 4 年前
父节点
当前提交
7db7fa5be2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/views/nodes/helpers.ts

+ 3
- 3
src/views/nodes/helpers.ts 查看文件

@ -48,9 +48,9 @@ export function* insertDateMarkers
[, marker] = markers[index];
}
// Don't show the last marker as the first entry -- since it could be wildly far off
if (!first || index < markers.length - 1) {
yield new MessageNode(parent.view, parent, marker);
// Don't show the marker if it is the first node
if (!first) {
yield new MessageNode(parent.view, parent, '', marker);
}
index++;

正在加载...
取消
保存