Skip to content

Commit

Permalink
refactor: removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dixidroid committed Mar 14, 2024
1 parent 47855f0 commit 5682db4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class EncodedVideoUnitViewModel(
private set
var castPlayer: CastPlayer? = null
private set
private var castContext: CastContext? = null

var isCastActive = false

Expand Down Expand Up @@ -82,7 +81,6 @@ class EncodedVideoUnitViewModel(
val executor = Executors.newSingleThreadExecutor()
CastContext.getSharedInstance(context, executor).addOnCompleteListener {
it.result?.let { castContext ->
this.castContext = castContext
castPlayer = CastPlayer(castContext)
}
}
Expand Down

0 comments on commit 5682db4

Please sign in to comment.