Crash fix on polycentric failure

This commit is contained in:
Kelvin K
2025-11-24 22:19:41 +01:00
parent 105ac538bb
commit a070d78dd9
@@ -1753,7 +1753,9 @@ class VideoDetailView : ConstraintLayout {
} }
} catch (e: Throwable) { } catch (e: Throwable) {
Logger.e(TAG, "Failed to get polycentric likes/dislikes.", e); Logger.e(TAG, "Failed to get polycentric likes/dislikes.", e);
_rating.visibility = View.GONE; fragment.lifecycleScope.launch(Dispatchers.Main) {
_rating.visibility = View.GONE;
}
} }
} }
} }