This commit is contained in:
simon 2020-11-27 17:03:42 +02:00
parent e4d748be44
commit cf5cc2d4c5

View file

@ -123,8 +123,13 @@ public class MenuBuilder {
public void onPlaceIdAcquired(String[] placeId) { public void onPlaceIdAcquired(String[] placeId) {
MenuBuilder.this.placeId = placeId; MenuBuilder.this.placeId = placeId;
if (placeId.length < 2) { if (placeId.length < 2) {
app.runInUIThread(new Runnable() {
@Override
public void run() {
photoButton.setVisibility(View.GONE); photoButton.setVisibility(View.GONE);
} }
});
}
} }
@Override @Override