Commit 60becd94 authored by Geoffrey Métais's avatar Geoffrey Métais

Show progressBar if browser is set after start

(cherry picked from commit 98f4d383)
parent 1fc8fe27
......@@ -500,9 +500,11 @@ public class MediaLibrary {
}
public void setBrowser(IBrowser browser) {
if (browser != null)
if (browser != null) {
mBrowser = new WeakReference<>(browser);
else
if (isWorking() && mBrowser.get() != null)
mBrowser.get().showProgressBar();
} else
mBrowser.clear();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment