Remove alternative text if there are none
app/src/main/java/eu/lepiller/nani/MainActivity.java
| 295 | 295 | separator = true; | |
| 296 | 296 | additional.append(s); | |
| 297 | 297 | } | |
| 298 | - | additional_info.setText(String.format(getResources().getString(R.string.sense_alternatives), additional.toString())); | |
| 298 | + | if(result.getAlternatives().size() > 1) | |
| 299 | + | additional_info.setText(String.format(getResources().getString(R.string.sense_alternatives), additional.toString())); | |
| 300 | + | else | |
| 301 | + | additional_info.setVisibility(View.GONE); | |
| 299 | 302 | ||
| 300 | 303 | senses_view.removeAllViews(); | |
| 301 | 304 |