bug fix
This commit is contained in:
parent
e4d748be44
commit
cf5cc2d4c5
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue