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 crowdin.properties
.kotlin/ .kotlin/
build-cache/ build-cache/
act

View File

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