Skip to content

Commit 3f09841

Browse files
committed
fix: R8 removes the Category enum in release build
Signed-off-by: prajwalch <[email protected]>
1 parent 6a43018 commit 3f09841

File tree

1 file changed

+3
-0
lines changed
  • app/src/main/kotlin/com/prajwalch/torrentsearch/domain/models

1 file changed

+3
-0
lines changed

app/src/main/kotlin/com/prajwalch/torrentsearch/domain/models/Torrent.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.prajwalch.torrentsearch.domain.models
22

3+
import androidx.annotation.Keep
4+
35
/** Represents a magnet URI. */
46
typealias MagnetUri = String
57

@@ -43,6 +45,7 @@ data class Torrent(
4345
}
4446

4547
/** Search category. */
48+
@Keep
4649
enum class Category(val isNSFW: Boolean = false) {
4750
All,
4851
Anime,

0 commit comments

Comments
 (0)