Fix NPE when rotating screen. (Fix #50)

pull/55/head
Fox2Code 2 years ago
parent 62a3a68a54
commit 81adac61b9

@ -34,6 +34,9 @@ public class RepoUpdater {
}
try {
if (!this.repoData.prepare()) {
this.indexRaw = null;
this.toUpdate = Collections.emptyList();
this.toApply = Collections.emptySet();
return 0;
}
this.indexRaw = Http.doHttpGet(this.repoData.url, false);

Loading…
Cancel
Save