Skip to content

Commit 47af21d

Browse files
authored
Merge pull request #8336 from Mamadou78130/fix8330
Fixed viewed counting
2 parents b84c6b4 + c2a3c1c commit 47af21d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/database/history/model/StreamHistoryEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public StreamHistoryEntity(final long streamUid, @NonNull final OffsetDateTime a
5151

5252
@Ignore
5353
public StreamHistoryEntity(final long streamUid, @NonNull final OffsetDateTime accessDate) {
54-
this(streamUid, accessDate, 1);
54+
this(streamUid, accessDate, 0); // start with 0 views (adding views will be done elsewhere)
5555
}
5656

5757
public long getStreamUid() {

0 commit comments

Comments
 (0)