Code cleanup

This commit is contained in:
Koitharu
2023-07-20 14:09:07 +03:00
parent 82a3b93214
commit 513aa1a285
20 changed files with 109 additions and 140 deletions

View File

@@ -22,9 +22,7 @@ class HistoryInfo(
if (totalChapters != other.totalChapters) return false
if (currentChapter != other.currentChapter) return false
if (history != other.history) return false
if (isIncognitoMode != other.isIncognitoMode) return false
return true
return isIncognitoMode == other.isIncognitoMode
}
override fun hashCode(): Int {

View File

@@ -5,7 +5,7 @@ import android.view.View
import androidx.recyclerview.widget.RecyclerView
import org.koitharu.kotatsu.R
class ScrobblingItemDecoration() : RecyclerView.ItemDecoration() {
class ScrobblingItemDecoration : RecyclerView.ItemDecoration() {
private var spacing: Int = -1