Skip to content
Snippets Groups Projects
Commit a666e691 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 53bd1853
No related branches found
No related tags found
1 merge request!1558Subtitle dialog: fix initial state set to error
Pipeline #267624 passed with stage
in 11 minutes and 2 seconds
......@@ -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