We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b00fce commit dd3be24Copy full SHA for dd3be24
app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultFragmentPhone.kt
@@ -559,12 +559,7 @@ open class ResultFragmentPhone : FullScreenPlayer() {
559
CastContext.getSharedInstance(act.applicationContext) {
560
it.run()
561
}.addOnCompleteListener {
562
- isGone = if (it.isSuccessful) {
563
- it.result.castState == CastState.NO_DEVICES_AVAILABLE
564
- } else {
565
- true
566
- }
567
-
+ isGone = !it.isSuccessful
568
}
569
// this shit leaks for some reason
570
//castContext.addCastStateListener { state ->
0 commit comments