only show Progress Dialog if necessary when sending toot (#1470)

This commit is contained in:
Konrad Pozniak 2019-09-06 21:40:11 +02:00 committed by GitHub
commit d83e7c4c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -44,4 +44,8 @@ public class CountUpDownLatch {
wait();
}
}
public synchronized boolean isEmpty() {
return count == 0;
}
}