Skip to content

Commit

Permalink
feat(yt) : Update VideoState.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
earthonion authored May 19, 2024
1 parent 8e8227d commit 011deb8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package app.revanced.integrations.youtube.shared



import app.revanced.integrations.shared.Utils;
import app.revanced.integrations.shared.Logger
import app.revanced.integrations.youtube.patches.VideoInformation
import app.revanced.integrations.youtube.patches.CopyVideoUrlPatch;
Expand Down Expand Up @@ -36,7 +39,7 @@ enum class VideoState {
Logger.printDebug { "VideoState changed to: $state" }
if (state == NEW) {
Logger.printDebug {"VideoUrl changed to: $videoUrl"}
CopyVideoUrlPatch.copyUrl(true);
Utils.openUri(videoUrl);
}

currentVideoState = state
Expand Down

0 comments on commit 011deb8

Please sign in to comment.