Fix chapters not getting cleared

This commit is contained in:
Kelvin 2023-11-07 16:24:22 +01:00
parent fc6bf85822
commit 6b67cd549f

View file

@ -1051,6 +1051,7 @@ class VideoDetailView : ConstraintLayout {
}
catch(ex: Throwable) {
Logger.e(TAG, "Failed to get chapters", ex);
_player.setChapters(null);
/*withContext(Dispatchers.Main) {
UIDialogs.toast(context, "Failed to get chapters\n" + ex.message);