From c560373596863cd6c4a54fb0ca987d5eb9c51c41 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 12 Feb 2022 22:17:33 -0500 Subject: [PATCH] Fix overlap between DisplayModeSetting and SortModeSetting masks --- .../kanade/tachiyomi/ui/library/setting/DisplayModeSetting.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/setting/DisplayModeSetting.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/setting/DisplayModeSetting.kt index a45765e2c..55a50822d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/setting/DisplayModeSetting.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/setting/DisplayModeSetting.kt @@ -4,10 +4,10 @@ enum class DisplayModeSetting(val flag: Int) { COMPACT_GRID(0b00000000), COMFORTABLE_GRID(0b00000001), LIST(0b00000010), - COVER_ONLY_GRID(0b00000100); + COVER_ONLY_GRID(0b10000000); companion object { - const val MASK = 0b00000111 + const val MASK = 0b10000011 fun fromFlag(flag: Int?): DisplayModeSetting { return values()