Skip to content
Snippets Groups Projects
Commit 2c7e0f68 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Subtitle dialog: fix initial state set to error

Fixes #2696
parent d1724774
No related branches found
No related tags found
1 merge request!1563Backport 3.5.x: !1560, !1558, !1557
......@@ -90,7 +90,7 @@ class SubtitleDownloaderDialogFragment : VLCBottomSheetDialogFragment() {
}
override fun onResume() {
viewModel.onRefresh()
if (viewModel.isApiLoading.value == false) viewModel.onRefresh()
super.onResume()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment