Skip to content

Commit

Permalink
feat: mark chapter as read from EpisodeFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
mytlogos committed Dec 21, 2021
1 parent 9963220 commit e3c0ec2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,15 @@ class EpisodeFragment
this.openInBrowser(episode.url)
true
}
if (!episode.read) {
popupMenu
.menu
.add("Mark read")
.setOnMenuItemClickListener {
instance.updateProgress(episode.episodeId, 1.0f)
true
}
}
popupMenu.show()
}

Expand Down

0 comments on commit e3c0ec2

Please sign in to comment.