Skip to content

Commit

Permalink
Fix missing "save" button for short videos
Browse files Browse the repository at this point in the history
  • Loading branch information
ousennin committed Dec 30, 2020
1 parent 93739ba commit 019c8c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/mishiranu/dashchan/ui/gallery/VideoUnit.java
Expand Up @@ -674,10 +674,11 @@ public void onReadVideoInit(File partialFile) {
holder.progressBar.setVisible(false, false);
if (successFinal) {
initializePlayer();
instance.galleryInstance.callback.invalidateOptionsMenu();
if (downloadTask == null) {
seekBar.setSecondaryProgress(seekBar.getMax());
holder.loadState = PagerInstance.LoadState.COMPLETE;
}
instance.galleryInstance.callback.invalidateOptionsMenu();
} else {
if (downloadTask != null) {
if (!downloadTask.isError()) {
Expand Down

0 comments on commit 019c8c9

Please sign in to comment.