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

View file

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