Skip to content

Commit 587d03b

Browse files
committed
browse: fix anonymous history; upd MediaServiceCore
1 parent be6055a commit 587d03b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/src/main/java/com/liskovsoft/smartyoutubetv2/common/app/presenters/BrowsePresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ private void appendLocalHistory(VideoGroup videoGroup) {
12281228
}
12291229

12301230
for (State state : stateService.getStates()) {
1231-
if (state.timestamp > stateService.getSessionStartTimeMs()) {
1231+
if (lastHistoryItem == null || state.timestamp > stateService.getSessionStartTimeMs()) {
12321232
videoGroup.add(0, state.video);
12331233
}
12341234
}

0 commit comments

Comments
 (0)