Skip to content

Commit ada6e7f

Browse files
committed
Fix duplicated error message
1 parent e361732 commit ada6e7f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/java/eu/postgresql/android/conferencescanner/MainActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,9 @@ else if (api.GetScanType() == ScanType.SPONSORBADGE) {
678678
protected void onPostExecute(Void success) {
679679
progressBar.setVisibility(View.INVISIBLE);
680680

681+
if (skip)
682+
return;
683+
681684
if (confname == null) {
682685
ErrorBox("Could not get conference name",
683686
String.format("Failed to get the name of the conference:\n%s", api.LastError()));

0 commit comments

Comments
 (0)