diff --git a/feature/player/src/main/java/dev/anilbeesetti/nextplayer/feature/player/PlayerActivity.kt b/feature/player/src/main/java/dev/anilbeesetti/nextplayer/feature/player/PlayerActivity.kt index e2cda850b..3647fafd7 100644 --- a/feature/player/src/main/java/dev/anilbeesetti/nextplayer/feature/player/PlayerActivity.kt +++ b/feature/player/src/main/java/dev/anilbeesetti/nextplayer/feature/player/PlayerActivity.kt @@ -615,7 +615,7 @@ class PlayerActivity : AppCompatActivity() { val alertDialog = MaterialAlertDialogBuilder(this@PlayerActivity).apply { setTitle(getString(coreUiR.string.error_playing_video)) setMessage(error.message ?: getString(coreUiR.string.unknown_error)) - setNegativeButton(getString(coreUiR.string.exit)) { dialog, _ -> + setNegativeButton(getString(coreUiR.string.exit)) { _, _ -> finish() } if (playlistManager.hasNext()) { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3ebfe7caa..661634e4b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -30,7 +30,7 @@ kotlinxCoroutines = "1.8.0" kotlinxSerializationJson = "1.6.3" ksp = "1.9.23-1.0.20" ktlint = "12.1.0" -nextlib = "0.7.0" +nextlib = "0.7.1" room = "2.6.1" timber = "5.0.1" universalChardet = "2.4.0"