mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-31 10:01:01 +00:00
fine...
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user