new dev bug: fixed the DictionaryLoader status handler again
This commit is contained in:
parent
7fa4b45aee
commit
f77f98aa51
2 changed files with 1 additions and 2 deletions
|
|
@ -104,8 +104,6 @@ public class DictionaryLoader {
|
|||
currentFile++;
|
||||
}
|
||||
|
||||
onStatusChange = null;
|
||||
|
||||
Timer.stop(IMPORT_TIMER);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ class ItemLoadDictionary extends ItemClickable {
|
|||
|
||||
|
||||
private void setReady() {
|
||||
loader.setOnStatusChange(null);
|
||||
item.setTitle(activity.getString(R.string.dictionary_load_title));
|
||||
item.setSummary(progressBar.isFailed() || progressBar.isCancelled() ? progressBar.getMessage() : "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue