This commit is contained in:
sneazy-ibo
2024-03-29 00:53:33 +01:00
parent bd685d5273
commit af78ea0978
5 changed files with 3 additions and 147 deletions

View File

@@ -1098,14 +1098,6 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
RPC.Link("View My AniList", anilistLink)
)
}
"custom" -> {
val customButtonText = PrefManager.getCustomVal("custom_button_text", "")
val customButtonLink = PrefManager.getCustomVal("custom_button_link", "")
mutableListOf(
RPC.Link(getString(R.string.view_anime), media.shareLink ?: ""),
RPC.Link(customButtonText, customButtonLink)
)
}
else -> mutableListOf()
}
val presence = RPC.createPresence(

View File

@@ -388,14 +388,6 @@ class MangaReaderActivity : AppCompatActivity() {
RPC.Link("View My AniList", anilistLink)
)
}
"custom" -> {
val customButtonText = PrefManager.getCustomVal("custom_button_text", "")
val customButtonLink = PrefManager.getCustomVal("custom_button_link", "")
mutableListOf(
RPC.Link(getString(R.string.view_manga), media.shareLink ?: ""),
RPC.Link(customButtonText, customButtonLink)
)
}
else -> mutableListOf()
}
val presence = RPC.createPresence(