Compare commits

..

No commits in common. "39f9505c0079d8ab82ee84316230d7af1d50ac7d" and "0bb4fe6aedbd30771baba0df6021ae1c91d918cc" have entirely different histories.

2 changed files with 6 additions and 10 deletions

4
.gitignore vendored
View File

@ -323,6 +323,4 @@ fabric.properties
crowdin.properties
.kotlin/
build-cache/
act
build-cache/

View File

@ -161,14 +161,12 @@ class ReaderActivity :
override fun onPageSelected(position: Int) {
super.onPageSelected(position)
if (!allItems.isNullOrEmpty() && allItems.size >= position) {
if (allItems[position].starred) {
canRemoveFromFavorite()
} else {
canFavorite()
}
readItem(allItems[position])
if (allItems[position].starred) {
canRemoveFromFavorite()
} else {
canFavorite()
}
readItem(allItems[position])
}
},
)