fill content after final lang selection

This commit is contained in:
sonora 2015-06-13 02:31:24 +02:00
parent 9bb60d5ce5
commit 65fbc4767c

View file

@ -371,7 +371,6 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
app.getSettings().isLightContent() ?
R.style.OsmandLightTheme:
R.style.OsmandDarkTheme);
String content = a.getDescription(lang);
final String title = a.getName(lang);
LinearLayout ll = new LinearLayout(ctx);
ll.setOrientation(LinearLayout.VERTICAL);
@ -390,6 +389,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
}
final String langSelected = lng;
String content = a.getDescription(langSelected);
final Button bottomBar = new Button(ctx);
bottomBar.setText(R.string.read_full_article);
bottomBar.setOnClickListener(new View.OnClickListener() {