Extract string resource
This commit is contained in:
parent
8bcfa76af5
commit
992f68dcb7
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ public class WikivoyageArticleNavigationFragment extends MenuBottomSheetDialogFr
|
||||||
public boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) {
|
public boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) {
|
||||||
WikivoyageSearchResult articleItem = (WikivoyageSearchResult) listAdapter.getGroup(groupPosition);
|
WikivoyageSearchResult articleItem = (WikivoyageSearchResult) listAdapter.getGroup(groupPosition);
|
||||||
if (articleItem.getCityId() == -1) {
|
if (articleItem.getCityId() == -1) {
|
||||||
Toast.makeText(getContext(), "Article not found.", Toast.LENGTH_LONG).show();
|
Toast.makeText(getContext(), R.string.wiki_article_not_found, Toast.LENGTH_LONG).show();
|
||||||
} else {
|
} else {
|
||||||
sendResults(articleItem.getCityId());
|
sendResults(articleItem.getCityId());
|
||||||
dismiss();
|
dismiss();
|
||||||
|
|
Loading…
Reference in a new issue